@codemirror/language-data creates 100+ unnecessary chunks when code plugins are not used #896
Unanswered
greg-betterreports
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed that MDXEditor includes @codemirror/language-data as a dependency, which causes bundlers to generate 100+ lazy-loaded language chunks even when codeBlockPlugin and codeMirrorPlugin are not used. We are not using any of these feature as we just want basic formattting.
Impact:
Reproduction
My imports (no code plugins):
Build result:
Would there be a way to not include those chunks if we don't use the code plugin ?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions