Answers for "set my sass to compile in a dist folder"

CSS
1

sass compile minified

sass --watch a.scss:a.css --style compressed
Posted by: Guest on August-14-2020
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

Code answers related to "set my sass to compile in a dist folder"

Browse Popular Code Answers by Language