Skip to content

Commit 0ab4761

Browse files
committed
chore: ensure clearing env var in normal build
1 parent 6a7928d commit 0ab4761

File tree

1 file changed

+1
-0
lines changed
  • packages/@vue/cli-service/lib/commands/build

1 file changed

+1
-0
lines changed

packages/@vue/cli-service/lib/commands/build/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ module.exports = (api, options) => {
4444
clean: false
4545
}), api, options)
4646
} else {
47+
delete process.env.VUE_CLI_MODERN_BUILD
4748
return build(args, api, options)
4849
}
4950
})

0 commit comments

Comments
 (0)