@@ -286,8 +286,8 @@ module.exports = function (grunt) {
286286 dist : {
287287 files : {
288288 src : [
289- '<%%= yeoman.dist %>/client/{,*/}*.js' ,
290- '<%%= yeoman.dist %>/client/{,*/}*.css' ,
289+ '<%%= yeoman.dist %>/client/!(bower_components)/ {,*/}*.js' ,
290+ '<%%= yeoman.dist %>/client/!(bower_components)/ {,*/}*.css' ,
291291 '<%%= yeoman.dist %>/client/assets/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}' ,
292292 '<%%= yeoman.dist %>/client/assets/fonts/*'
293293 ]
@@ -307,9 +307,9 @@ module.exports = function (grunt) {
307307
308308 // Performs rewrites based on rev and the useminPrepare configuration
309309 usemin: {
310- html : [ '<%%= yeoman.dist %>/client/{,*/}*.html' ] ,
311- css : [ '<%%= yeoman.dist %>/client/{,*/}*.css' ] ,
312- js : [ '<%%= yeoman.dist %>/client/{,*/}*.js' ] ,
310+ html : [ '<%%= yeoman.dist %>/client/!(bower_components)/ {,*/}*.html' ] ,
311+ css : [ '<%%= yeoman.dist %>/client/!(bower_components)/ {,*/}*.css' ] ,
312+ js : [ '<%%= yeoman.dist %>/client/!(bower_components)/ {,*/}*.js' ] ,
313313 options : {
314314 assetsDirs : [
315315 '<%%= yeoman.dist %>/client' ,
0 commit comments