8
0
Piotrek Koszuliński 8 лет назад
Родитель
Сommit
c60afe4900
1 измененных файлов с 3 добавлено и 9 удалено
  1. 3 9
      scripts/docs/snippet-adapter/snippetadapter.js

+ 3 - 9
scripts/docs/snippet-adapter/snippetadapter.js

@@ -98,15 +98,9 @@ function getWebpackConfig( config ) {
 
 	if ( config.minify ) {
 		plugins.push(
-			new BabelMinifyPlugin(
-				{
-					// Temporary workaround for https://github.com/ckeditor/ckeditor5/issues/542.
-					mangle: false
-				},
-				{
-					comments: false
-				}
-			)
+			new BabelMinifyPlugin( null, {
+				comments: false
+			} )
 		);
 	}