We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4c37df commit b0231ddCopy full SHA for b0231dd
.storybook/main.js
@@ -1,11 +1,12 @@
1
module.exports = {
2
framework: "@storybook/react",
3
core: { builder: "webpack5" },
4
- features: { babelModeV7: true },
+ // storyStoreV7 removes the circular dependency issue with Webpack 5
5
+ // So, we added ThemeProvider in preview.jsx and so src/theme should work for HMR
6
+ features: { storyStoreV7: true, babelModeV7: true },
7
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
8
addons: [
9
"storybook-addon-preview",
- "storybook-addon-react-docgen",
10
"@storybook/addon-essentials",
11
"@storybook/addon-a11y",
12
{
0 commit comments