node-sass

npm install node-sass

Add to scripts in package.json:
    "scss": "node-sass --watch scss -o public"

--watch points to the directory to watch for changes
-o      is where the compiled .css files will be written

npm run scss


Comments

Popular posts from this blog

React/JSX: One way to store an HTML entity as data

box-shadow

Notes on Javascript async and await