当前位置:网站首页>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
边栏推荐
- C. Tree infection (simulation + greed)
- 用LCR表完美测试无线充电系统中的线圈
- 多线程基本概念(并发与并行、线程与进程)和入门案例
- js 判斷數字字符串中是否含有字符
- Day. JS common methods
- Analysis of POM files
- Wine (COM) - basic concept
- [WinUI3]编写一个仿Explorer文件管理器
- Pixel 5 5g unlocking tutorial (including unlocking BL, installing edxposed and root)
- AQS source code reading
猜你喜欢

redis数据类型有哪些
![[winui3] write an imitation Explorer file manager](/img/3e/62794f1939da7f36f7a4e9dbf0aa7a.png)
[winui3] write an imitation Explorer file manager

View analysis of scenic spots in ArcGIS

PHP+MySQL 制作留言板

Independent station operation | Facebook marketing artifact - chat robot manychat

【数据库】MySQL多表查询(一)

多线程基本概念(并发与并行、线程与进程)和入门案例

直播带货表格模板-自动显示图片-自动关联系列商品

Introduction to raspberry pie 3B - system installation

Deep learning notes - fine tuning
随机推荐
洛谷P2731骑马修栅栏
Luogu p2731 horse riding fence repair
Innovation training (XI) airline ticket crawling company information
Innovation training (VI) routing
Mac 进入mysql终端命令
Custom switch control
Details related to fingerprint payment
The difference between static pipeline and dynamic pipeline
How to exit VIM
redis数据类型有哪些
TypeError: ‘Collection‘ object is not callable. If you meant to call the ......
Sword finger offer: symmetric binary tree (recursive iteration leetcode 101)
The vscode ipynb file does not have code highlighting and code completion solutions
Download PDF from HowNet (I don't want to use CAJViewer anymore!!!)
Informatics Aosai yibentong 1212: letters | openjudge 2.5 156: Letters
QPushbutton 槽函数被多次触发
HRegionServer的详解
[database] MySQL single table query
Innovation training (IV) preliminary preparation - server
redis和mysql区别