fix: Background error building plugins with no server content
This commit is contained in:
2
build.js
2
build.js
@@ -71,7 +71,7 @@ async function build() {
|
|||||||
execAsync("cp package.json ./build"),
|
execAsync("cp package.json ./build"),
|
||||||
...d.map(async (plugin) =>
|
...d.map(async (plugin) =>
|
||||||
execAsync(
|
execAsync(
|
||||||
`cp ./plugins/${plugin}/plugin.json ./build/plugins/${plugin}/plugin.json`
|
`mkdir -p ./build/plugins/${plugin} && cp ./plugins/${plugin}/plugin.json ./build/plugins/${plugin}/plugin.json`
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user