Explorar o código

Merge pull request #2 from ckeditor/t/ckeditor5/475

Other: Optimized the bundle size (~10%) by enabling webpack's `ModuleConcatenationPlugin` plugin. Read more https://github.com/ckeditor/ckeditor5/issues/475.
Piotrek Koszuliński %!s(int64=8) %!d(string=hai) anos
pai
achega
706c7fca7d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      packages/ckeditor5-build-balloon/webpack.config.js

+ 2 - 1
packages/ckeditor5-build-balloon/webpack.config.js

@@ -37,7 +37,8 @@ module.exports = {
 		new webpack.BannerPlugin( {
 		new webpack.BannerPlugin( {
 			banner: bundler.getLicenseBanner(),
 			banner: bundler.getLicenseBanner(),
 			raw: true
 			raw: true
-		} )
+		} ),
+		new webpack.optimize.ModuleConcatenationPlugin()
 	],
 	],
 
 
 	module: {
 	module: {