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

Use Case Insensitive search to update with hashed name #58

Open ravirneni1 opened 8 years ago

ravirneni1 commented 8 years ago

Can an option added to ignore case when searching for file names during rename operation?

File is: charting.js For cache busting file is renamed as 52ffe3f4.charting.cache.js Chart.html refers the file as src= 'Charting.js'

Script file name in Chart.html will not be updated with new name because src has file name with different case than physical file.

In windows world it is becoming very hard to make team to follow and use exact case. As browser treats files in case insensitive manner probably it will benefit lots of users.