diff --git a/cli/src/commands/build.js b/cli/src/commands/build.js index aab41128..aafc636c 100644 --- a/cli/src/commands/build.js +++ b/cli/src/commands/build.js @@ -75,8 +75,6 @@ const handler = async ({ ? getAppParameters(standalone, config) : null - await fs.remove(paths.buildOutput) - await exitOnCatch( async () => { if ( @@ -196,6 +194,7 @@ const handler = async ({ process.exit(1) } + await fs.remove(paths.buildAppOutput) await fs.copy(paths.shellBuildOutput, paths.buildAppOutput) if (packAppOutput) {