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 @@ - +