Skip to content

[Enhancement] NcRichText: remark-gfm could be async loaded to reduce initial size #6246

@Antreesy

Description

@Antreesy

rehype-highligh is now async loaded, which reduces the initial component size by ~110kB

image

Did a quick test, remark-gfm is 40kB and could be extracted as well. Shall we do it?

Originally posted by @Antreesy in #6212 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care offeature: richtextRelated to the richtext componentgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions