Minify CSS with Node-sass

In the node-sass documentation says you have to use
--output-style, and it could be nested | expanded | compact | compressed. To minify use compressed

For example:

node-sass -w public/css/scss/style.scss public/css/style.css --output-style compressed

will minify the CSS.

Leave a Comment

error code: 521