Move uglify to bundleProd task

This commit is contained in:
Roman Hotsiy 2016-01-09 16:20:20 +02:00
parent 687639c427
commit 1d493f3ea5

View File

@ -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: './' })