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
Post a Comment