Open JMPerez opened 9 years ago
I just submitted a pull request with a fix for this issue. If you want, you can use my fork until the pull request gets merged (or in the event it is never merged). Uninstall the current version with npm remove grunt-purifycss
and install mine with npm install raddevon/grunt-purifycss --save-dev
.
@raddevon : I have seen your fork, but you haven't mentioned any syntax for excluding files or folders. Can you update your readme please.
@yashvekaria Since my fork doesn't implement any custom file exclusion solution (it merely allows the standard Grunt method of file exclusion to work), I'll refer you to the Grunt documentation on globbing patterns.
Since this is a standard all Grunt plugins can (and most do) support, the documentation should probably stay with Grunt rather than being duplicated to individual plugin documentation. I hope this helps!
@raddevon, yes it was helpful. Thanks
@raddevon Why isn't your pull request merged yet I wonder? File exclusion can really come in handy.
@gmaggio I'm not sure. You could install my fork with NPM if you want to be able to exclude files.
npm install raddevon/grunt-purifycss#grunt-glob-expansion --save-dev
I would like to be able to exclude certain files or folders from the
src
in the Gruntfile config for the plugin, but this seems to not be supported.I know some other plugins support a structure like
files
with asrc
attribute that supports paths with globbing patterns and I was wondering if something similar could be supported.