Open markulrich opened 11 months ago
Also see note from @acywatson at https://github.com/facebook/lexical/discussions/3778#discussioncomment-6694006. Thank you!!
Btw, just curious, what is the expected ls node_modules | wc -l
and du -sh node_modules | tail -n 1
after npm install
of a freshly-cloned https://github.com/facebook/lexical ?
For me this initial npm install
led to more than 1000...
It appears that prismjs gets included as a (very large) dependency of @lexical/markdown, swelling the bundle size.
Steps To Reproduce
See https://bundlephobia.com/package/@lexical/markdown@0.12.5 and that prismjs swells the bundle size
The current behavior
Prismjs is included in the bundle
The expected behavior
Prismjs is not included, and the bundle size is <100kb