(优化):

This commit is contained in:
2022-10-09 17:31:56 +08:00
parent 133e6414fa
commit af34945fda
13 changed files with 768 additions and 703 deletions
+4 -4
View File
@@ -7,9 +7,9 @@ module.exports = {
CURRENT_BASE_URL: '"https://www.zzfzyc.com/lymarket"',
},
mini: {
optimizeMainPackage: {
enable: true,
},
// optimizeMainPackage: {
// enable: true,
// },
webpackChain: (chain, webpack) => {
chain.merge({
plugin: {
@@ -18,7 +18,7 @@ module.exports = {
args: [
{
terserOptions: {
// compress: true, // 默认使用terser压缩
compress: true, // 默认使用terser压缩
compress: {
drop_console: true, // 去掉打印
}, // 默认使用terser压缩