From: Kevin Ball Date: Fri, 9 Dec 2016 22:06:05 +0000 (-0800) Subject: Fix deploy dist build X-Git-Tag: v6.3.0-rc3~1^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9686dc2579f7cdc491bb74fed670106c97ed797d;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix deploy dist build --- 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)