Luismahou / grunt-hashres

Hashes your js and css files and rename the <script> and <link> declarations that refer to them in your html/php/etc files.
MIT License
115 stars 41 forks source link

add option patternMaker, replacementMarker and improve debuging #13

Closed wangshijun closed 11 years ago

wangshijun commented 11 years ago

2 Improvements were made

2 options were added for user to customize what to find and replace when file hashing and renaming were done.

For example:

I want to replace all occurence of 'src/core/admin.css' with 'dist/core/admin.min.xxxxxxxx.css', but the default behavior just replace 'dist/core/admin.min.css'

so the patternMaker and replacementMaker were added to allow user to customize what to find and replace

documentation and debugging

Luismahou commented 11 years ago

Hi,

First of all, thanks for your contribution.

I like the idea, but I cannot accept this pull request:

Cheers

Luismahou commented 11 years ago

Closing due to lack of activity.