InstallStrip comments from CSS
$ 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4