gulp-cachebust
gulp-cachebust copied to clipboard
Files that are a subset of another file is incorrectly replaced
If you have a file named bar.png and one named foo-bar.png the foo-bar.png file sometimes gets the incorrect hash since the regex (\bbar.png\b).
This could potentially be solved by simply replacing the longest name first.