-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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
- 2.0.6 https://bundlephobia.com/package/@contentstack/json-rte-serializer@2.0.6 19.7KB
- 2.0.7 https://bundlephobia.com/package/@contentstack/json-rte-serializer@2.0.7 51.9KB
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
Metadata
Metadata
Assignees
Labels
No labels