update @测试分支放开配置

This commit is contained in:
huangzhen 2024-11-01 12:00:17 +08:00
parent 04da1c5008
commit d2aa729de4
2 changed files with 5 additions and 5 deletions

View File

@ -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(),
],

View File

@ -17,9 +17,9 @@
<!-- <div id="captcha-element"></div>
<div id="captcha-button"></div> -->
<!-- 仅开发/测试使用 -->
<!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script>
var vConsole = new window.VConsole();
</script> -->
</script>
</body>
</html>