mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-31 07:47:29 +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) { | gulp.task('build', function (callback) { | ||||||
|   return runSequence( |   return runSequence( | ||||||
|     'clean', |     'clean', | ||||||
|     'bundle', |     'bundleProd', | ||||||
|     callback |     callback | ||||||
|   ); |   ); | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
| gulp.task('bundle', ['bundleSfx', 'concatDeps', 'uglify']); | gulp.task('bundle', ['bundleSfx', 'concatDeps', 'uglify']); | ||||||
|  | gulp.task('bundleProd', ['bundle', 'uglify']); | ||||||
| 
 | 
 | ||||||
| gulp.task('inlineTemplates', ['sass'], function() { | gulp.task('inlineTemplates', ['sass'], function() { | ||||||
|   return gulp.src(paths.source, { base: './' }) |   return gulp.src(paths.source, { base: './' }) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user