Skip to content

Commit b0231dd

Browse files
committed
build(sb): 👷 update sb storystore and remove react docgen plugin
1 parent a4c37df commit b0231dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.storybook/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
module.exports = {
22
framework: "@storybook/react",
33
core: { builder: "webpack5" },
4-
features: { babelModeV7: true },
4+
// 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 },
57
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
68
addons: [
79
"storybook-addon-preview",
8-
"storybook-addon-react-docgen",
910
"@storybook/addon-essentials",
1011
"@storybook/addon-a11y",
1112
{

0 commit comments

Comments
 (0)