Jelajahi Sumber

Merge branch 'master' into t/ckeditor5-dev/371

Piotrek Koszuliński 7 tahun lalu
induk
melakukan
f969be9d73
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  1. 4 2
      packages/ckeditor5-build-balloon/webpack.config.js

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

@@ -29,12 +29,14 @@ module.exports = {
 
 	optimization: {
 		minimizer: [
+			// Use the newest version of UglifyJsWebpackPlugin plugin that fixes `inline` optimization bug.
+			// See https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/264.
 			new UglifyJsWebpackPlugin( {
 				sourceMap: true,
 				uglifyOptions: {
 					output: {
-						// Preserve license comments starting with at least 30 `-` chars.
-						comments: /^-{30,}/
+						// Preserve license comments starting with the exclamation mark (!).
+						comments: /^!/
 					}
 				}
 			} )