Skip to content

Commit

Permalink
Fixes storybook webpack config (#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleshike authored Oct 12, 2023
1 parent ed73d39 commit 549fc75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ module.exports = function({ config }) {
{
loader: 'css-loader',
options: {
modules: true
modules: {
mode: (path) => path.endsWith('.module.scss') ? 'local' : 'global'
}
}
},
'sass-loader'
Expand Down

0 comments on commit 549fc75

Please sign in to comment.