Skip to content

Bug: prismjs is included as a dependency of @lexical/markdown #5381

@markulrich

Description

@markulrich

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions