Answers for "compile sass using webpack"

CSS
1

sass compile minified

sass --watch a.scss:a.css --style compressed
Posted by: Guest on August-14-2020
0

watch and compile scss command

node-sass --watch scss -o css
Posted by: Guest on March-28-2022
0

npm compile sass to css

#compiles a single file manually.
 node-sass my-styles.scss my-styles.css 
 #compiles all the files in a folder manually.
 node-sass my-sass-folder/ -o my-css-folder/
 # compiles all the files in a folder automatically 
 #whenever the source file(s) are modified. -w adds 
 #a watch for changes to the file(s).
 node-sass -w sass/ -o css/
Posted by: Guest on January-28-2022

Browse Popular Code Answers by Language