From 1d493f3ea56b90e1358b9f4edb78a88791ba8d09 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sat, 9 Jan 2016 16:20:20 +0200 Subject: [PATCH] Move uglify to bundleProd task --- build/tasks/build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/tasks/build.js b/build/tasks/build.js index c37fc467..f45e71a0 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -17,12 +17,13 @@ paths.redocBuilt = path.join(paths.output, paths.outputName) + '.js'; gulp.task('build', function (callback) { return runSequence( 'clean', - 'bundle', + 'bundleProd', callback ); }); gulp.task('bundle', ['bundleSfx', 'concatDeps', 'uglify']); +gulp.task('bundleProd', ['bundle', 'uglify']); gulp.task('inlineTemplates', ['sass'], function() { return gulp.src(paths.source, { base: './' })