Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 723 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 723 Bytes

CleanCSS for TSF files via NPM

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.

Installation

  1. Import this Git's files to a private folder location.
  2. Open Terminal.
  3. cd to folder.
  4. Enter: npm install.

Updating

  1. Open Terminal.
  2. cd to folder.
  3. Enter: npm update.

Usage

  1. Open Terminal.
  2. cd to folder.
  3. Enter: npm start.
  4. Open your favorite webbrowser.
  5. Go to localhost:8002/?file=C:\path\to\file-to-minify.css.
  6. The response in the browser will be the minified version of the file.