Skip to content

Commit

Permalink
添加必要参数
Browse files Browse the repository at this point in the history
  • Loading branch information
bigCows committed Aug 31, 2023
1 parent b512021 commit 55729e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default defineConfig({
}
},
build:{
minify: 'terser',
terserOptions:{
compress:{
// 生产环境移除console
Expand Down

0 comments on commit 55729e6

Please sign in to comment.