@@ -91,7 +91,6 @@ module.exports = defineConfig({
uglifyOptions: {
compress: {
drop_console: true,
- pure_funcs: ['console.log'], // 移除 console.log
drop_debugger: true
},
output: {
@@ -99,8 +98,7 @@ module.exports = defineConfig({
}
sourceMap: false,
- parallel: true,
- ie8: true // 支持 IE8+ (也会处理 IE11 的兼容问题)
+ parallel: true
}))