minify警告处理

pull/237/head
zhangdaiscott 2022-11-07 19:19:42 +08:00
parent abdc9da743
commit d9eaf06d7d
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
proxy: createProxy(VITE_PROXY),
},
build: {
minify: 'terser',
target: 'es2015',
// 【VUEN-872】css编译兼容低版本chrome内核例如360浏览器
cssTarget: 'chrome80',