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'
}
}
}
What about running
grunt-contrib-concat
first?and then task:
edit
How are you using
@import
? I'm not an expert on the specifics, but here is what I do...dir/
main.scss