From d6350bfd5e5bf43afae7af2155fcbf99aa4728cb Mon Sep 17 00:00:00 2001 From: Kamil Piechaczek Date: Thu, 4 Aug 2016 15:34:39 +0200 Subject: [PATCH] Adjusted gulp bundle tasks to new API from `ckeditor5-dev-bundler-rollup`. --- gulpfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 7024e9e1796..579a4e43499 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -45,7 +45,7 @@ gulp.task( 'exec', ckeditor5DevEnv.execOnRepositories ); // Bundling tasks. const ckeditor5DevBundle = require( 'ckeditor5-dev-bundler-rollup' )( config ); -gulp.task( 'bundle:clean', ckeditor5DevBundle.clean ); +gulp.task( 'bundle:clean', ckeditor5DevBundle.cleanFromConfig ); gulp.task( 'bundle:generate', [ 'bundle:clean', @@ -54,8 +54,8 @@ gulp.task( 'bundle:generate', ], ckeditor5DevBundle.generateFromConfig ); -gulp.task( 'bundle:minify:js', ckeditor5DevBundle.minify.js ); -gulp.task( 'bundle:minify:css', ckeditor5DevBundle.minify.css ); +gulp.task( 'bundle:minify:js', ckeditor5DevBundle.minify.jsFromConfig ); +gulp.task( 'bundle:minify:css', ckeditor5DevBundle.minify.cssFromConfig ); gulp.task( 'bundle', ( callback ) => { runSequence( 'bundle:generate', @@ -63,7 +63,7 @@ gulp.task( 'bundle', ( callback ) => { 'bundle:minify:js', 'bundle:minify:css' ], - () => ckeditor5DevBundle.showSummary( callback ) + () => ckeditor5DevBundle.showSummaryFromConfig( callback ) ); } );