This package helps you minify CSS files via CleanCSS for TSF product family, using NPM.
It uses CleanCSS v4.2.1, since v4.2.2 caused various issues, among merging selectors unpredictably.
- 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:8002/?file=C:\path\to\file-to-minify.css
. - The response in the browser will be the minified version of the file.