grunt-pleeease
grunt-pleeease copied to clipboard
Add support for dynamic files property
http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically
Running "pleeease:other" (pleeease) task
[D] Task source: /node_modules/grunt-pleeease/tasks/pleeease.js
Verifying property pleeease.other exists in config...OK
Warning: Object true has no method 'indexOf' Use --force to continue.
while using
files: {
expand: true,
cwd: 'public/stylesheets/',
src: ['*.css'],
ext: '.max.css',
dest: 'target/files/stylesheets/'
}
Hi,
dynamic files are already supported like this:
files: {
'tmp/': 'test/fixtures/*.css'
}
You want explicitly support for that conventions there ?
I was having the same issue some time ago.
The above described expand
method is the one endorsed by Grunt, so it would make sense any plugins to support it.
:+1:
You can't use tools like dom_munger either - only the last ref will be pulled. This is super annoying because I have a lot of pure CSS deps for my project that must be post-processed to be included along with my compiled SCSS.
Please fix this so I can use '<%= dom_munger.data.appcss %>'!
Hey, sure, I can add this support during the christmas.