I can see that v2.0.6 optimised the bundle size down to 19KB. However v2.0.7 introduced the Markdown processor and ever since the bundle size has been over 50KB
This impacting client-side bundle sizes in a Next.js application where the full package is also sent client-side for hydration.
Is it possible to package this so that only jsonToHtml can be bundled? sideEffects: false? https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free
I can see that v2.0.6 optimised the bundle size down to 19KB. However v2.0.7 introduced the Markdown processor and ever since the bundle size has been over 50KB
This impacting client-side bundle sizes in a Next.js application where the full package is also sent client-side for hydration.
Is it possible to package this so that only
jsonToHtmlcan be bundled?sideEffects: false? https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free