Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[with-storybook] Add CSS Modules Support #16247

Closed
matamatanot opened this issue Aug 17, 2020 · 0 comments
Closed

[with-storybook] Add CSS Modules Support #16247

matamatanot opened this issue Aug 17, 2020 · 0 comments

Comments

@matamatanot
Copy link
Contributor

Feature request

Add configs for CSS Modules.

Is your feature request related to a problem? Please describe.

#16139 This PR shows usage in Storybook V6 (TypeScript build-in support) and I think it's so helpful.
But, it would be more useful to add the use of CSS Modules. Most developers using Storybook apply styles to components. And, Next.js also recommends the use of CSS Modules vercel/documentation#536.

Describe the solution you'd like

Extend Webpack config.

if (rule.test.test('hello.css')) {

Describe alternatives you've considered

Install dependencies style-loader css-loader sass-loader

Additional context

#15195
#15196
#15351
storybookjs/storybook#9610

@matamatanot matamatanot changed the title [with-storybook] Add CSS Modules Support. [with-storybook] Add CSS Modules Support Aug 17, 2020
@vercel vercel locked and limited conversation to collaborators Apr 12, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants