Skip to content

Commit e2a79ca

Browse files
committed
Fix glob format and Emotion11 compatibility issue
Disable feature flag to opt-out of the previous behavior of pinning the Emotion version to v10.
1 parent b49f4d5 commit e2a79ca

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

app/.storybook/main.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
stories: [
33
// display the Loop page as the first story int he list
44
'../src/__stories__/LoopPage.stories.tsx',
5-
'../src/**/*.stories.(ts|tsx|js|jsx|mdx)',
5+
'../src/**/*.stories.@(ts|tsx|js|jsx|mdx)',
66
],
77
addons: [
88
'@storybook/preset-create-react-app',
@@ -17,5 +17,10 @@ module.exports = {
1717
],
1818
core: {
1919
builder: 'webpack5'
20-
}
20+
},
21+
features: {
22+
// Emotion11 quasi compatibility issue with storybook. Disabling feature flag to support emotion11.
23+
// https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#emotion11-quasi-compatibility
24+
emotionAlias: false,
25+
},
2126
};

0 commit comments

Comments
 (0)