update @测试分支放开配置
This commit is contained in:
parent
04da1c5008
commit
d2aa729de4
|
@ -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(),
|
||||
],
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue