Use This Tools To Reduce Size Of JavaScript
.
👉 Python
.
👉 Install Python
👉 Clone This Repo
👉 Run : virtualenv env
👉 Run : env\Scripts\activate
👉 Run : pip install -r requirements.txt
👉 Run : python pack.py -d [Path To Directory Contains JavaScript], Ex : python pack.py -d /usr/prject/assets/js
👉 This Will Generate New JavaScript With Output In Sub Directory /packed/
.
This Only Pack JavaScript With Size() Greater Than Size(pack.min.template) * 2
.