I want to compile all .scss files in my sass folder to a single .css file E:\SassToCss \sass \style1.scss \style2.scss \Want to have the compiled style.css in project root directory.
I tried the followings
sass: {
dist: {
files: {
'style.css' : 'sass/*.scss'
}
}
}
This is generating css for the first file only & ignoring rest of the files.
sass: {
dist: {
files: [{
expand: true,
//cwd: 'styles',
src: ['*.scss'],
//dest: '../public',
ext: '.css'
}]
}
}
This not generating my .css file. What's the correct way of doing so