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

markdown-it-icons size #6

Closed
moshemalawach opened this issue Jul 1, 2019 · 1 comment
Closed

markdown-it-icons size #6

moshemalawach opened this issue Jul 1, 2019 · 1 comment

Comments

@moshemalawach
Copy link

The inclusion of markdown-it-icons adds roughly 1 to 2MB to the bundle size of my website (as it includes the whole emojione lib with it).

If I remove it, the compressed chunks size goes from 4.5 to 3mb!

Perhaps make it optional (with the import optional too)?

@ravenq
Copy link
Owner

ravenq commented Jul 9, 2019

Hi , Thanks for your issue! @moshemalawach

I don't find the way to reduce the size and make the all plugins avalid.

the big size plugin:

  • echarts
  • mermaid
  • flowchart
  • markdown-it-icons

Perhaps, it is a good idea to fork a repo, and remove the plugins which you do not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants