Skip to content

Commit

Permalink
fix: only clear required build output directories
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgee committed Nov 21, 2024
1 parent d7a5007 commit 572530b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/src/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ const handler = async ({
? getAppParameters(standalone, config)
: null

await fs.remove(paths.buildOutput)

await exitOnCatch(
async () => {
if (
Expand Down Expand Up @@ -196,6 +194,7 @@ const handler = async ({
process.exit(1)
}

await fs.remove(paths.buildAppOutput)
await fs.copy(paths.shellBuildOutput, paths.buildAppOutput)

if (packAppOutput) {
Expand Down

0 comments on commit 572530b

Please sign in to comment.