Browse Source

Related #1501 Gulp build now only builds files specified in setup

pull/1533/head
jlukic 10 years ago
parent
commit
62c3e1d7cc
1 changed files with 3 additions and 2 deletions
  1. 5
      gulpfile.js

5
gulpfile.js

@ -341,7 +341,8 @@ gulp.task('build', 'Builds all files from source', function(callback) {
; ;
// javascript stream // javascript stream
gulp.src(source.definitions + '**/*.js')
gulp.src(source.definitions + '**/' + componentGlob + '.js')
.pipe(plumber()) .pipe(plumber())
.pipe(flatten()) .pipe(flatten())
.pipe(gulp.dest(output.uncompressed)) .pipe(gulp.dest(output.uncompressed))
@ -359,7 +360,7 @@ gulp.task('build', 'Builds all files from source', function(callback) {
; ;
// unified css stream // unified css stream
stream = gulp.src(source.definitions + '**/*.less')
stream = gulp.src(source.definitions + '**/' + componentGlob + '.less')
.pipe(plumber()) .pipe(plumber())
//.pipe(sourcemaps.init()) //.pipe(sourcemaps.init())
.pipe(less(settings.less)) .pipe(less(settings.less))

Loading…
Cancel
Save