I have a directory structure of:
views
_static_
some.js
somesass.scss
something.jade
I was hoping to do something like this:
sass: {
dist: {
options: {
style: 'expanded'
},
files: [{
expand: true,
cwd: 'views',
src: ['*/*.scss'],
flatten: true,
dest: 'views/*/_static_',
ext: '.css'
}]
}
},
If I just do dest: 'views'
and remove flatten:true
then it, at least, puts it in the same folder the .scss file is in, but I can't figure out how to say "ok, add '_static_
' to the cwd of the current file and place the .css in there." How/can I do that with grunt-contrib-sass?
If wondering why I'm not just throwing all the compiled CSS into one directory, it's because this is for an experimentation server for myself, so I'm not minifying or anything.