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
We should investigate if this can be optimized by moving to Shiki for syntax highlighting. On the surface Shiki doesn't look like a smaller package overall (pkg-size), but it offers fine-grained control of the bundling that might suit our needs.
Shiki also has other advantages in terms of language, perforamcne, theming and API support.
The text was updated successfully, but these errors were encountered:
react-syntax-hightlighter
(and it's subdependencies) takes up a significant amount of the@storybook/core/components
bundle:https://635781f3500dd2c49e189caf-rjflqvpgls.chromatic.com/?path=/story/bench--es-build-analyzer&args=metafile:core_SLASH_components_DOT_esm_DOT_json
We should investigate if this can be optimized by moving to Shiki for syntax highlighting. On the surface Shiki doesn't look like a smaller package overall (pkg-size), but it offers fine-grained control of the bundling that might suit our needs.
Shiki also has other advantages in terms of language, perforamcne, theming and API support.
The text was updated successfully, but these errors were encountered: