From 9686dc2579f7cdc491bb74fed670106c97ed797d Mon Sep 17 00:00:00 2001 From: Kevin Ball Date: Fri, 9 Dec 2016 14:06:05 -0800 Subject: [PATCH] Fix deploy dist build --- gulp/tasks/deploy.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gulp/tasks/deploy.js b/gulp/tasks/deploy.js index 4e90338c9..be891f78f 100644 --- a/gulp/tasks/deploy.js +++ b/gulp/tasks/deploy.js @@ -46,9 +46,10 @@ gulp.task('deploy:version', function() { // Generates compiled CSS and JS files and puts them in the dist/ folder gulp.task('deploy:dist', ['sass:foundation', 'javascript:foundation'], function() { - var cssFilter = filter(['*.css'], { restore: true }); - var jsFilter = filter(['*.js'], { restore: true }); + var cssFilter = filter(['**/*.css'], { restore: true }); + var jsFilter = filter(['**/*.js'], { restore: true }); + console.log(CONFIG.DIST_FILES) return gulp.src(CONFIG.DIST_FILES) .pipe(plumber()) .pipe(cssFilter) -- 2.47.2