Skip to content

Large bundle size (from 2.0.7) #94

@nickdunn

Description

@nickdunn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions