Skip to content

Commit

Permalink
[Issue PaulTondeur#10] Only 1st replacement done
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-ramos committed Jun 19, 2018
1 parent 7ab8401 commit 00dcb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/cache-busting.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = function (grunt) {
src: this.data.replace,
overwrite: true,
replacements: [{
from: new RegExp(from),
from: new RegExp(from, 'g'),
to: replacementWithoutExtension + "-" + hash + replacementExtension
}]
});
Expand Down

0 comments on commit 00dcb88

Please sign in to comment.