From d2aa729de496ca4a4fdf973cef7de6cfd1ac1610 Mon Sep 17 00:00:00 2001 From: huangzhen Date: Fri, 1 Nov 2024 12:00:17 +0800 Subject: [PATCH] =?UTF-8?q?update=20@=E6=B5=8B=E8=AF=95=E5=88=86=E6=94=AF?= =?UTF-8?q?=E6=94=BE=E5=BC=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/webpack.prod.js | 6 +++--- public/index.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/webpack.prod.js b/build/webpack.prod.js index f2b350d..08fb577 100644 --- a/build/webpack.prod.js +++ b/build/webpack.prod.js @@ -27,13 +27,13 @@ module.exports = merge(baseConfig, { new TerserPlugin({ terserOptions: { compress: { - drop_console: true, // 移除所有的`console`语句 + // drop_console: true, // 移除所有的`console`语句 }, output: { - comments: false, // 去掉注释 + // comments: false, // 去掉注释 }, }, - extractComments: false, // 不从代码中提取注释 + // extractComments: false, // 不从代码中提取注释 }), new CssMinimizerPlugin(), ], diff --git a/public/index.html b/public/index.html index b737e79..159a558 100644 --- a/public/index.html +++ b/public/index.html @@ -17,9 +17,9 @@ - +