Skip to content

Move prismjs, mermaid, katex, clipboard, and emoji-toolkit to optional peerDependencies #621

@samueldmeyer

Description

@samueldmeyer

Currently, prismjs, mermaid, katex, clipboard, and emoji-toolkit are listed under optionalDependencies, which are installed by default leading to issues like #573

Instead, it would be better to list them under peerDependencies and use peerDependenciesMeta to mark them as optional. That way, consumers can choose if they want to install those libraries or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions