I am trying out cssmin for Grunt
According to the docs targets can be defined "according to the grunt Configuring tasks guide." When I create a cssmin task using that pattern, like:
cssmin: {
my_target: {
minify: {
src: 'path-to/default.css',
dest: 'path-to/default.min.css'
}
}
}
the minified file is not created.
If I remove the target level it works as expected. Do I do something wrong here? or are there other options than cssmin (In my research I picked this as everybody was pointing to it)
Using:
- grunt v0.4.1
- cssmin v0.6.0
grunt cssmin:my_target
? – Phylloquinone