Skip to content

Commit

Permalink
build(sb): 👷 update sb storystore and remove react docgen plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Jun 29, 2022
1 parent a4c37df commit b0231dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
module.exports = {
framework: "@storybook/react",
core: { builder: "webpack5" },
features: { babelModeV7: true },
// storyStoreV7 removes the circular dependency issue with Webpack 5
// So, we added ThemeProvider in preview.jsx and so src/theme should work for HMR
features: { storyStoreV7: true, babelModeV7: true },
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"storybook-addon-preview",
"storybook-addon-react-docgen",
"@storybook/addon-essentials",
"@storybook/addon-a11y",
{
Expand Down

0 comments on commit b0231dd

Please sign in to comment.