Fixing "gulp dist" task - Thx @visualmodo
This commit is contained in:
parent
ebb8b9d5f5
commit
eb3e432d54
|
@ -220,6 +220,6 @@ gulp.task('copy-assets', function() {
|
||||||
// gulp dist
|
// gulp dist
|
||||||
// Copies the files to the /dist folder for distributon
|
// Copies the files to the /dist folder for distributon
|
||||||
gulp.task('dist', function() {
|
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/'))
|
.pipe(gulp.dest('dist/'))
|
||||||
});
|
});
|
||||||
|
|
Reference in New Issue