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
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.
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.
next.js/packages/next-plugin-storybook/preset.js
Line 32 in feeb941
Describe alternatives you've considered
Install dependencies
style-loader css-loader sass-loader
Additional context
#15195
#15196
#15351
storybookjs/storybook#9610
The text was updated successfully, but these errors were encountered: