js压缩

1.webpack

安装

npm install webpack -g

使用

webpack [inputfile] [outfile]

 

 

2.uglifyjs

安装

npm install uglify-js -g

使用

uglifyjs [input file] [options] [output file]

 

posted @ 2018-07-17 14:02  雾以泪聚rx  阅读(110)  评论(0编辑  收藏  举报