Languages
[Edit]
EN

SCSS - compile and minify to css file

10 points
Created by:
AnnLen
8880

In this short article we want to show how to compile and compress *.scss files with scss command.

Quick solution:

sass "input_file.scss:output_file.min.css" --style compressed

Note: sometimes it is necessary to use full scss path under Windows.

sass path under Windows 10 is: /c/Users/MY_USER_NAME/AppData/Roaming/npm/sass.

Result screenshot:

scss file compilation with compression using scss command (file was compressed about 65%)
scss file compilation with compression using scss command (file was compressed about 65%)
Native Advertising
50 000 ad impressions - 449$
🚀
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

❤️💻 🙂

Join