当前位置:网站首页>Uglifyjs compress JS
Uglifyjs compress JS
2022-04-23 05:00:00 【GreatorMan】
Software introduction
UglifyJS yes JavaScript Parser , Reducer , Compressor and beautifier toolbox .
Be careful :
- uglify-js@3 Have a simplified API and CLI, The API and CLI Not backward compatible with uglify-js@2.
- UglifyJS 2.x Version of the documentation can be found here .
- uglify-js Support only JavaScript(ECMAScript 5).
- To zoom out ECMAScript 2015 Or later , Please use Babel Such tools for translation .
Let's install 、 Compression to demonstrate uglifyjs Using process :
install uglifyjs Tools :
sudo cnpm install uglify-js -g
Size before pressurization :

Run the pressurization command :
uglifyjs enterprisesheet-all-origin.js -o enterprisesheet-all.js
Size after pressurization , Here's the picture :
版权声明
本文为[GreatorMan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220553101836.html
边栏推荐
- Unity3d practical skills - theoretical knowledge base (I)
- 跨境电商 | Facebook 和 Instagram:哪个社交媒体更适合你?
- Luogu p2731 horse riding fence repair
- Perfect test of coil in wireless charging system with LCR meter
- Innovation training (V) configuration information
- Gets all dates between two times
- TypeError: ‘Collection‘ object is not callable. If you meant to call the ......
- redis数据类型有哪些
- 退出vim的方法
- 2022/4/22
猜你喜欢

Field injection is not recommended using @ Autowired
![[2021] Spatio-Temporal Graph Contrastive Learning](/img/7d/67a0bfa0adecee24bbe291a25ae906.png)
[2021] Spatio-Temporal Graph Contrastive Learning

Set Chrome browser background to eye protection (eye escort / darkreader plug-in)

Sword finger offer: the median in the data stream (priority queue large top heap small top heap leetcode 295)

Detailed explanation of the differences between TCP and UDP

JS engine loop mechanism: synchronous, asynchronous, event loop

Basic concepts of multithreading (concurrency and parallelism, threads and processes) and entry cases
![Solve valueerror: argument must be a deny tensor: 0 - got shape [198602], but wanted [198602, 16]](/img/99/095063b72390adea6250f7b760d78c.png)
Solve valueerror: argument must be a deny tensor: 0 - got shape [198602], but wanted [198602, 16]

MySQL 慢查询

Leetcode 1547: minimum cost of cutting sticks
随机推荐
《2021多多阅读报告》发布,95后、00后图书消费潜力攀升
负载均衡简介
POI export message list (including pictures)
AQS source code reading
How can continuous integration (CI) / continuous delivery (CD) revolutionize automated testing
MySQL 慢查询
Machine learning - linear regression
泰克示波器DPO3054自校准SPC失败维修
DIY 一个 Excel 版的子网计算器
2022/4/22
Day.js 常用方法
List< Map> Replication: light copy and deep copy
Windows remote connection to redis
View, modify and delete [database] table
Innovation training (10)
Harmonious dormitory (linear DP / interval DP)
2022/4/22
Deep learning notes - fine tuning
持续集成(CI)/持续交付(CD)如何彻底改变自动化测试
Perfect test of coil in wireless charging system with LCR meter