gruntjs - how to compile multiple scss files into multiple css files with grunt-sass? -


i compile scss files inside scss folder , not imported ( file names not start _ ) each separate css files( has same name scss file ).

that kind of functionality can found in prepros.

is possible grunt-sass?

i tried doesn't work:

sass: {   dist: {     files {       'css/*.css': 'scss/*.scss',     }   } } 

you can try:

sass: {     dist: {       files: [{         expand: true,         cwd: 'styles',         src: ['*.scss'],         dest: '../public',         ext: '.css'       }]     } } 

Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -