Fixing "gulp dist" task - Thx @visualmodo

This commit is contained in:
koenemann 2016-11-15 08:39:32 +01:00
parent ebb8b9d5f5
commit eb3e432d54
1 changed files with 1 additions and 1 deletions

View File

@ -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/'))
});