Skip to content

Commit 18f8d31

Browse files
committed
fix(app): fix folder depth in rev and usemin globs
1 parent 655ce10 commit 18f8d31

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: app/templates/Gruntfile.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ module.exports = function (grunt) {
250250
filerev: {
251251
dist: {
252252
src: [
253-
'<%%= yeoman.dist %>/client/!(bower_components)/{,*/}*.{js,css}',
253+
'<%%= yeoman.dist %>/client/!(bower_components){,*/}*.{js,css}',
254254
'<%%= yeoman.dist %>/client/assets/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}',
255255
'<%%= yeoman.dist %>/client/assets/fonts/*'
256256
]
@@ -269,9 +269,9 @@ module.exports = function (grunt) {
269269

270270
// Performs rewrites based on rev and the useminPrepare configuration
271271
usemin: {
272-
html: ['<%%= yeoman.dist %>/client/!(bower_components)/{,*/}*.html'],
273-
css: ['<%%= yeoman.dist %>/client/!(bower_components)/{,*/}*.css'],
274-
js: ['<%%= yeoman.dist %>/client/!(bower_components)/{,*/}*.js'],
272+
html: ['<%%= yeoman.dist %>/client/!(bower_components){,*/}*.html'],
273+
css: ['<%%= yeoman.dist %>/client/!(bower_components){,*/}*.css'],
274+
js: ['<%%= yeoman.dist %>/client/!(bower_components){,*/}*.js'],
275275
options: {
276276
assetsDirs: [
277277
'<%%= yeoman.dist %>/client',

0 commit comments

Comments
 (0)