From 18f8d31d6f63906aa8cf3f8b482b2206e93bfd97 Mon Sep 17 00:00:00 2001 From: kingcody Date: Fri, 17 Jul 2015 21:58:16 -0400 Subject: [PATCH] fix(app): fix folder depth in rev and usemin globs --- app/templates/Gruntfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/Gruntfile.js b/app/templates/Gruntfile.js index 1062820f3..f358525ad 100644 --- a/app/templates/Gruntfile.js +++ b/app/templates/Gruntfile.js @@ -250,7 +250,7 @@ module.exports = function (grunt) { filerev: { dist: { src: [ - '<%%= yeoman.dist %>/client/!(bower_components)/{,*/}*.{js,css}', + '<%%= yeoman.dist %>/client/!(bower_components){,*/}*.{js,css}', '<%%= yeoman.dist %>/client/assets/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}', '<%%= yeoman.dist %>/client/assets/fonts/*' ] @@ -269,9 +269,9 @@ module.exports = function (grunt) { // Performs rewrites based on rev and the useminPrepare configuration usemin: { - html: ['<%%= yeoman.dist %>/client/!(bower_components)/{,*/}*.html'], - css: ['<%%= yeoman.dist %>/client/!(bower_components)/{,*/}*.css'], - js: ['<%%= yeoman.dist %>/client/!(bower_components)/{,*/}*.js'], + html: ['<%%= yeoman.dist %>/client/!(bower_components){,*/}*.html'], + css: ['<%%= yeoman.dist %>/client/!(bower_components){,*/}*.css'], + js: ['<%%= yeoman.dist %>/client/!(bower_components){,*/}*.js'], options: { assetsDirs: [ '<%%= yeoman.dist %>/client',