-
Notifications
You must be signed in to change notification settings - Fork 564
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
docs: add support for css to storybook #4950
Conversation
|
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beautiful
* docs: add support for css to storybook * chore: remove commented code * chore: add explicit dependency used by storybook tool * chore: add dependency used by internal addon * refactor: update internal storybook dependencies * chore(deps): update deps version * chore: run npm dedupe * chore: update stories * chore: try out different loader techniques * refactor(storybook): update from @storybook/react-webpack5 to @storybook/react-vite * chore: update settings to match rollup build output * chore: remove top-level postcss config --------- Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
It seems like our existing CSS in place in Storybook is not working as intended and only style-loader is getting applied 😓 This PR updates the Storybook configuration to work correctly with CSS Modules and correctly apply our postcss config to it.
Changelog
New
Changed
Removed
@storybook/addon-styling
packageRollout strategy
This is a change to our storybook setup