Merge branch 'base' into tabbar
This commit is contained in:
commit
c1ed654ff3
@ -132,7 +132,8 @@ export default ({ command, mode }) => {
|
||||
// 方便非h5端调试
|
||||
sourcemap: VITE_SHOW_SOURCEMAP === 'true', // 默认是false
|
||||
target: 'es6',
|
||||
minify: 'terser',
|
||||
// 开发环境不用压缩
|
||||
minify: mode === 'development' ? false : 'terser',
|
||||
terserOptions: {
|
||||
compress: {
|
||||
drop_console: VITE_DELETE_CONSOLE === 'true',
|
||||
|
Loading…
x
Reference in New Issue
Block a user