Skip to content

Commit

Permalink
Merge pull request #282 from ckeditor/t/275
Browse files Browse the repository at this point in the history
Adjusted gulp bundle tasks to new API
  • Loading branch information
oskarwrobel authored Aug 5, 2016
2 parents 920ed74 + d6350bf commit 3e6e3c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -54,16 +54,16 @@ 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',
[
'bundle:minify:js',
'bundle:minify:css'
],
() => ckeditor5DevBundle.showSummary( callback )
() => ckeditor5DevBundle.showSummaryFromConfig( callback )
);
} );

Expand Down

0 comments on commit 3e6e3c9

Please sign in to comment.