]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix deploy dist build 9485/head
authorKevin Ball <kmball11@gmail.com>
Fri, 9 Dec 2016 22:06:05 +0000 (14:06 -0800)
committerKevin Ball <kmball11@gmail.com>
Fri, 9 Dec 2016 22:06:05 +0000 (14:06 -0800)
gulp/tasks/deploy.js

index 4e90338c9d0c13591065d6e5ee890edb271a51c4..be891f78f19e52920cda946bbdb9b764167c7d26 100644 (file)
@@ -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)