首页 > Web开发 > 详细

js压缩

时间:2018-07-17 15:05:04      阅读:166      评论:0      收藏:0      [点我收藏+]

1.webpack

安装

npm install webpack -g

使用

webpack [inputfile] [outfile]

 

 

2.uglifyjs

安装

npm install uglify-js -g

使用

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

 

js压缩

原文:https://www.cnblogs.com/wylj/p/9323031.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!