当前位置:网站首页>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
边栏推荐
- selenium模式下切换窗口,抓取数据的实现
- QPushbutton 槽函数被多次触发
- Cross border e-commerce | Facebook and instagram: which social media is more suitable for you?
- Independent station operation | Facebook marketing artifact - chat robot manychat
- Luogu p2731 horse riding fence repair
- Mac enters MySQL terminal command
- What's the difference between error and exception
- 使用model.load_state_dict()时,出现AttributeError: ‘str‘ object has no attribute ‘copy‘
- Com alibaba. Common methods of fastjson
- Informatics Aosai yibentong 1212: letters | openjudge 2.5 156: Letters
猜你喜欢

拼了!两所A级大学,六所B级大学,纷纷撤销软件工程硕士点!

Detailed explanation of the differences between TCP and UDP
![[2021] Spatio-Temporal Graph Contrastive Learning](/img/7d/67a0bfa0adecee24bbe291a25ae906.png)
[2021] Spatio-Temporal Graph Contrastive Learning

2022/4/22

用LCR表完美测试无线充电系统中的线圈

Thoughts on a small program

Pixel 5 5g unlocking tutorial (including unlocking BL, installing edxposed and root)

Details related to fingerprint payment

Arduino UNO r3+LCD1602+DHT11

The 2021 more reading report was released, and the book consumption potential of post-95 and Post-00 rose
随机推荐
TypeError: ‘Collection‘ object is not callable. If you meant to call the ......
AQS source code reading
[database] MySQL single table query
Repair of self calibration SPC failure of Tektronix oscilloscope dpo3054
The programmer starts the required application with one click of window bat
深度学习笔记 —— 物体检测和数据集 + 锚框
View, modify and delete [database] table
Introduction to raspberry pie 3B - system installation
Sword finger offer: the path with a certain value in the binary tree (backtracking)
Solve valueerror: argument must be a deny tensor: 0 - got shape [198602], but wanted [198602, 16]
leetcode——启发式搜索
Unity3d practical skills - theoretical knowledge base (I)
scp命令详解
Learning Android from scratch -- Introduction
Deep learning notes - object detection and dataset + anchor box
退出vim的方法
[winui3] write an imitation Explorer file manager
Use the built-in function of win to transfer files between two computers in the same LAN (the speed is the same as that between local disks)
Arduino UNO r3+LCD1602+DHT11
Informatics Aosai yibentong 1212: letters | openjudge 2.5 156: Letters