Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Antreesy opened this issue Nov 20, 2024 · 0 comments · May be fixed by #6259
Open

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

Antreesy opened this issue Nov 20, 2024 · 0 comments · May be fixed by #6259
Labels
1. to develop Accepted and waiting to be taken care of feature: richtext Related to the richtext component good first issue Small tasks with clear documentation about how and in which place you need to fix things in.
Milestone

Comments

@Antreesy
Copy link
Contributor

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)

@Antreesy Antreesy changed the title remark-gfm [Enhancement] NcRichText: remark-gfm could be async loaded to reduce initial size Nov 20, 2024
@Antreesy Antreesy added good first issue Small tasks with clear documentation about how and in which place you need to fix things in. 1. to develop Accepted and waiting to be taken care of feature: richtext Related to the richtext component labels Nov 20, 2024
@Antreesy Antreesy modified the milestones: 8.21.0, 8.22.0 Nov 20, 2024
@Antreesy Antreesy linked a pull request Nov 22, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of feature: richtext Related to the richtext component good first issue Small tasks with clear documentation about how and in which place you need to fix things in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant