PaulTondeur / grunt-cache-busting

Cache busting files and updating references
8 stars 13 forks source link

File minimatch #17

Closed colleen-love closed 1 year ago

colleen-love commented 8 years ago

File can now be a minimatch expression. This allows minifying directories and updating other source files with their updated paths. This is useful for angular templateUrls, it allows one to cache bust all html files and update the js files which declare them.

I also added an option matchHashed. If match hashed is undefined or true we try to replace file-HASH.ext. Otherwise we only try to replace file.ext.

The documentation has also been updated.

PaulTondeur commented 8 years ago

Hi, thanks a lot for your pull request. Honestly I am not sure what to do with it as I am not actively maintaining this anymore and I lacked to create unit tests. A first glance at this seems that this could be quite useful, but I am not having the time to properly test and accept. Do you think this introduced any breaking changes?