By using the Atlaskit Editor (import {Editor} from "@atlaskit/editor-core";
) our build time increased by a factor of 10! We currently using version 167.0.2
.
I know Prosemirror is a big package, but it also has a nice component based structure. To me it seems the Atlaskit Editor brings ALL components, although they are not all needed.
Any thoughts how to speed up our builds?
Furthermore I noticed compile errors like this
Compiled with warnings.
../node_modules/pdfjs-dist/build/pdf.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.