Remove UglifyJS warnings option
Former-commit-id: 5d5170c9ba699213183f3fe7dd13c49e4fa297e1
This commit is contained in:
@@ -60,7 +60,6 @@ module.exports = {
|
||||
// 移除 console
|
||||
// 其它优化选项 https://segmentfault.com/a/1190000010874406
|
||||
compress: {
|
||||
warnings: false,
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ['console.log']
|
||||
|
||||
Reference in New Issue
Block a user