mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-30 17:44:07 +03:00
Move uglify to bundleProd task
This commit is contained in:
parent
687639c427
commit
1d493f3ea5
|
@ -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: './' })
|
||||
|
|
Loading…
Reference in New Issue
Block a user