Awesome
strip-css-comments-cli
Strip comments from CSS
Install
$ npm install --global strip-css-comments-cli
Usage
$ strip-css-comments --help
Usage
$ strip-css-comments <input-file> > <output-file>
$ strip-css-comments < <input-string>
Options
--preserve=<regex> Preserve comments matching a regex [Default: ^!]
--no-preserve Strip all comments including `/*!`
Examples
$ strip-css-comments src/app.css > dist/app.css
$ strip-css-comments < src/app.css --preserve='^#'
Related
- strip-css-comments - API for this module