how do you compile Sass code example
Example 1: sass compile minified
sass --watch a.scss:a.css --style compressed
Example 2: how to compile scss to css
// Install node-sass
npm i node-sass
// In package.json:
"scripts": {
...
"scss": "node-sass — watch scss -o css"
}
// Run the compilation
npm run scss