Skip to content

Commit

Permalink
build: Adapt Storybook for node18 (#244)
Browse files Browse the repository at this point in the history
* build: Adapt Storybook for node18

* fix: Removes webpack4 dependencies
  • Loading branch information
MalinSvenberg authored Feb 20, 2023
1 parent d697365 commit 1347609
Show file tree
Hide file tree
Showing 3 changed files with 383 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
core: {
builder: 'webpack5',
},
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@
"@storybook/addon-essentials": "6.5.16",
"@storybook/addon-interactions": "6.5.16",
"@storybook/addon-links": "6.5.16",
"@storybook/builder-webpack4": "6.5.16",
"@storybook/builder-webpack5": "6.5.16",
"@storybook/jest": "0.0.10",
"@storybook/manager-webpack4": "6.5.16",
"@storybook/manager-webpack5": "6.5.16",
"@storybook/react": "6.5.16",
"@storybook/test-runner": "0.9.4",
"@storybook/testing-library": "0.0.13",
Expand Down
Loading

0 comments on commit 1347609

Please sign in to comment.