1、只需要在build文件夹下的webpack.prod.comf.js里面的第39行左右加两句代码即可

drop_console: true,
pure_funcs: ['console.log']
Logo

Vue社区为您提供最前沿的新闻资讯和知识内容

更多推荐