Refactor on gulp copy command

pull/12/head
mertsincan 2019-05-30 09:59:46 +03:00
parent 0e0394f0fc
commit 7de9be3559
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ var gulp = require('gulp'),
flatten = require('gulp-flatten'); flatten = require('gulp-flatten');
gulp.task('copy-components', function() { gulp.task('copy-components', function() {
return gulp.src(['src/components/**/*.vue']) return gulp.src(['src/components/**/!(*.js)*'])
.pipe(gulp.dest('./components')); .pipe(gulp.dest('./components'));
}); });