Skip to content
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

make sure css-loader uses modules #61

Merged
merged 1 commit into from
Feb 17, 2021
Merged

Conversation

hexjelly
Copy link
Contributor

CSS modules would work locally while testing, because Storybook has its own Webpack config where CSS modules were set up properly. This was not setup in the build script. You need to explicitly opt in to load *.module.css files as CSS modules with a config in css-loader.

@hexjelly hexjelly merged commit 5c2f45b into master Feb 17, 2021
@hexjelly hexjelly deleted the roger/fix-css-modules branch February 17, 2021 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants