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.
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.