@@ -286,8 +286,8 @@ module.exports = function (grunt) {
286
286
dist : {
287
287
files : {
288
288
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' ,
291
291
'<%%= yeoman.dist %>/client/assets/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}' ,
292
292
'<%%= yeoman.dist %>/client/assets/fonts/*'
293
293
]
@@ -307,9 +307,9 @@ module.exports = function (grunt) {
307
307
308
308
// Performs rewrites based on rev and the useminPrepare configuration
309
309
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' ] ,
313
313
options : {
314
314
assetsDirs : [
315
315
'<%%= yeoman.dist %>/client' ,
0 commit comments