Skip to content

Commit 5a24b83

Browse files
committed
fix(grunt): update rev-ed images in css as well as js
closes #977
1 parent bb045c5 commit 5a24b83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: app/templates/Gruntfile(grunt).js

+3
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ module.exports = function (grunt) {
311311
],
312312
// This is so we update image references in our ng-templates
313313
patterns: {
314+
css: [
315+
[/(assets\/images\/.*?\.(?:gif|jpeg|jpg|png|webp|svg))/gm, 'Update the CSS to reference our revved images']
316+
],
314317
js: [
315318
[/(assets\/images\/.*?\.(?:gif|jpeg|jpg|png|webp|svg))/gm, 'Update the JS to reference our revved images']
316319
]

0 commit comments

Comments
 (0)