I'm trying to output multiple less files under less folders to build/css folder
here is the code i'm having where i have to specify individual files and its working fine
less: {
build: {
options: {
yuicompress: true,
paths: ['public/less']
},
files: {
'.build/css/app1.css': 'public/less/app1.less',
'.build/css/app2.css': 'public/less/app2.less'
}
}
}
I try to make it more generic and tried this but not working
less: {
build: {
options: {
yuicompress: true,
paths: ['public/less']
},
files: {
expand: true,
cwd: 'public/css',
src: '*.less',
dest: '.build/css',
ext: '*.css'
}
}
}
This is my grunt versions
grunt-cli v0.1.9
grunt v0.4.2
Is there anything missing to any config need to be added?