From 7de9be35593451ab6b2b9e3e6fdf0d6a1cf0d53f Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 30 May 2019 09:59:46 +0300 Subject: [PATCH] Refactor on gulp copy command --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 75fc5f3cf..54465d030 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -8,7 +8,7 @@ var gulp = require('gulp'), flatten = require('gulp-flatten'); gulp.task('copy-components', function() { - return gulp.src(['src/components/**/*.vue']) + return gulp.src(['src/components/**/!(*.js)*']) .pipe(gulp.dest('./components')); });