Skip to content

Commit

Permalink
chore: fix storybook build
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed May 20, 2022
1 parent ca011c0 commit 0f7bbe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
name: "@storybook/addon-essentials",
options: {
backgrounds: false,
docs: false,
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion .storybook/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const configAdjuster = ({ config }: { config: webpack.Configuration }) => {

config.resolve!.modules = ["node_modules", javascriptDir, baseDir] // baseDir is required for resolving *.scss files

config.resolve!.fallback = { fs: false, path: false }
config.resolve!.fallback = { fs: false, os: false, path: false }

return config
}
Expand Down

0 comments on commit 0f7bbe6

Please sign in to comment.