Skip to content

Commit

Permalink
feat(plugin-vite): optimize build speed
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed Dec 30, 2023
1 parent 335c388 commit 219bde6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/plugin/vite/src/ViteConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export default class ViteConfigGenerator {
// 🚧 Multiple builds may conflict.
outDir: path.join(this.baseDir, 'build'),
watch: watch ? {} : undefined,
minify: this.isProd,
},
clearScreen: false,
define,
Expand Down

0 comments on commit 219bde6

Please sign in to comment.