From 62c3e1d7cc6b4e1c5611d28e04a3949369d4623e Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 23 Dec 2014 12:07:51 -0500 Subject: [PATCH] Related #1501 Gulp build now only builds files specified in setup --- gulpfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 823ef4d33..638257a37 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -341,7 +341,8 @@ gulp.task('build', 'Builds all files from source', function(callback) { ; // javascript stream - gulp.src(source.definitions + '**/*.js') + + gulp.src(source.definitions + '**/' + componentGlob + '.js') .pipe(plumber()) .pipe(flatten()) .pipe(gulp.dest(output.uncompressed)) @@ -359,7 +360,7 @@ gulp.task('build', 'Builds all files from source', function(callback) { ; // unified css stream - stream = gulp.src(source.definitions + '**/*.less') + stream = gulp.src(source.definitions + '**/' + componentGlob + '.less') .pipe(plumber()) //.pipe(sourcemaps.init()) .pipe(less(settings.less))