Skip to content

Commit

Permalink
Replace nflow_logo.svg reference (now inside layout.js) to cache-bust…
Browse files Browse the repository at this point in the history
…ed (created by filerev) version
  • Loading branch information
eputtone committed Feb 8, 2021
1 parent 9bed933 commit 55dd743
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nflow-explorer/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,14 @@ module.exports = function (grunt) {
usemin: {
html: ['<%= yeoman.dist %>/**/*.html'],
css: ['<%= yeoman.dist %>/styles/{,*/}*.css'],
js: ['<%= yeoman.dist %>/**/*.js'],
options: {
assetsDirs: ['<%= yeoman.dist %>','<%= yeoman.dist %>/images']
assetsDirs: ['<%= yeoman.dist %>','<%= yeoman.dist %>/images'],
patterns: {
js: [
[/(nflow_logo\.svg)/, 'Replacing reference to nflow_logo.svg']
]
}
}
},

Expand Down

0 comments on commit 55dd743

Please sign in to comment.