Skip to content

Commit f2c10fb

Browse files
WesSouzaarturbien
authored andcommitted
chore: fix Storybook deprecation warnings
- Globs needed to be fixed - Implicit PostCSS was deprecated, so we need to explicitly tell Storybook we don't need it so the warning isn't shown
1 parent 2359aad commit f2c10fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.storybook/main.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
module.exports = {
2-
stories: [
3-
'../src/**/*.stories.(js|mdx)',
4-
'../.storybook/**/*.stories.(js|mdx)'
5-
],
2+
stories: ['../src/**/*.stories.@(js|mdx)'],
63
addons: [
74
{
85
name: '@storybook/addon-docs',
@@ -14,5 +11,8 @@ module.exports = {
1411
},
1512
'@storybook/addon-storysource',
1613
'storybook-addon-styled-component-theme/dist/register'
17-
]
14+
],
15+
features: {
16+
postcss: false
17+
}
1818
};

0 commit comments

Comments
 (0)