在webpack.prod.conf文件下
new UglifyJsPlugin({
uglifyOptions: {
compress: {
warnings: false,
drop_debugger: true,
drop_console: true
}
}
}),

相关文章:

  • 2022-12-23
  • 2018-03-15
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2021-05-17
猜你喜欢
  • 2021-05-24
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案