This package helps you minify JS files via Babel for TSF product family, using NPM.
- Import this Git's files to a private folder location.
- Open Terminal.
cd
to folder.- Enter:
npm install
.
- Open Terminal.
cd
to folder.- Enter:
npm update
.
- Open Terminal.
cd
to folder.- Enter:
npm start
. - Open your favorite webbrowser.
- Go to
localhost:8000/?file=C:\path\to\file-to-minify.js
. - The response in the browser will be the minified version of the file.
Babel may act up after processsing some files. To resolve that, stop the script (CTRL+C on Windows), restart it, and try again.