From eb3e432d541c3dd5d0fb56d7f251838c734c8e5b Mon Sep 17 00:00:00 2001 From: koenemann Date: Tue, 15 Nov 2016 08:39:32 +0100 Subject: [PATCH] Fixing "gulp dist" task - Thx @visualmodo --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 79a38af..c851bc0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -220,6 +220,6 @@ gulp.task('copy-assets', function() { // gulp dist // Copies the files to the /dist folder for distributon gulp.task('dist', function() { - gulp.src(['**/*','!sass','!bower_components', '!node_modules','!src','!dist','!bower.json', '!gulpfile.js', '!package.json', '*']) + gulp.src(['**/*','!sass','!sass/**','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!bower.json', '!gulpfile.js', '!package.json', '*']) .pipe(gulp.dest('dist/')) });