How to compile multiple scss files using grunt-sass
问题 I am trying to compile multiple .scss files into a single CSS file. This actually works but only grabs the first file... sass: { // Task dist: { files: { 'css/test.css':'sass/*.scss' } } } We don't have ruby installed so grunt-contrib-sass is not an option. I do the same thing in Stylus like this... stylus: { compile : { files : { 'css/g.css' : 'stylus/*.styl' } } } 回答1: What about running grunt-contrib-concat first? concat: { dist: { src: [ 'sass/*.scss', ], dest: 'sass/build.scss', } },