|
|
@@ -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:
|