Refactor on gulp copy command
parent
0e0394f0fc
commit
7de9be3559
|
@ -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'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue