You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, shiki adds quite a lot of overhead to the client bundle when highlighting is used somewhere in the application (MDC or Nuxt UI components for example).
It would help to support different bundles, maybe even fine grained bundles to be able to control the bundle size.
It could even be possible to automatically generate a fine grained bundle by storing the referenced langs from the content pages and creating dynamic imports only for the languages used in content files and/or global configuration.
The text was updated successfully, but these errors were encountered:
Currently, shiki adds quite a lot of overhead to the client bundle when highlighting is used somewhere in the application (MDC or Nuxt UI components for example).
It would help to support different bundles, maybe even fine grained bundles to be able to control the bundle size.
It could even be possible to automatically generate a fine grained bundle by storing the referenced langs from the content pages and creating dynamic imports only for the languages used in content files and/or global configuration.
The text was updated successfully, but these errors were encountered: