浏览代码

Added a note about using Terset in CKEditor 5 Builds.

Kamil Piechaczek 6 年之前
父节点
当前提交
2574ac4826
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      docs/builds/guides/integration/advanced-setup.md
  2. 2 0
      docs/framework/guides/quick-start.md

+ 2 - 0
docs/builds/guides/integration/advanced-setup.md

@@ -373,6 +373,8 @@ Webpack 4 introduced the [concept of modes](https://webpack.js.org/concepts/mode
 
 <info-box>
 	Prior to version 1.2.7 `uglifyjs-webpack-plugin` had a bug which caused webpack to crash with the following error: `TypeError: Assignment to constant variable.`. If you experienced this error, make sure that your `node_modules` contains an up-to-date version of this package (and that webpack uses this version).
+	
+	CKEditor 5 Builds use [`Terser`](https://github.com/terser/terser) instead of `uglifyjs-webpack-plugin` because [the later one seems to be unsupported anymore](https://github.com/ckeditor/ckeditor5/issues/1353).
 </info-box>
 
 ### Option: Extracting CSS

+ 2 - 0
docs/framework/guides/quick-start.md

@@ -168,6 +168,8 @@ npm adds `./node_modules/.bin/` to the `PATH` automatically, so in this case you
 	Use `webpack --mode production` if you want to build a minified and optimized application. See more in the [webpack documentation](https://webpack.js.org/concepts/mode/).
 
 	**Note:** Prior to version 1.2.7, `uglifyjs-webpack-plugin` (the default minifier used by webpack) had a bug which caused webpack to crash with the following error: `TypeError: Assignment to constant variable.`. If you experienced this error, make sure that your `node_modules` contains an up-to-date version of this package (and that webpack uses this version).
+	
+	**Note:** CKEditor 5 Builds use [`Terser`](https://github.com/terser/terser) instead of `uglifyjs-webpack-plugin` because [the later one seems to be unsupported anymore](https://github.com/ckeditor/ckeditor5/issues/1353). 
 </info-box>
 
 If everything worked correctly, you should see: