Replies: 1 comment 2 replies
-
@Codex- could you perhaps share a minimal reproduction for this issue? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Because of how storybook builds bundle the contents, the import order in
preview
doesn't appear to be respected which causes customisations to MUIs classname generation to not correctly apply in the correct order.https://mui.com/material-ui/experimental-api/classname-generator/
MuiClassNameSetup
preview:
During serving via running storybook:
And the generator:
However, when performing a build and inspecting the bundling sources:
So, how are we meant to preserve the import order for this crucial import in preview? How should this feature be used correctly with storybook?
Beta Was this translation helpful? Give feedback.
All reactions