Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
fix(storybook): remove duplicate @storybook/addon-essentials (#44)
Browse files Browse the repository at this point in the history
redwoodjs/redwood#4765 added `@storybook/addon-essentials` by default, and was included in 1.1.0

adding it twice causes an issue in webpack.

not sure if the work in redwoodjs/redwood#4900 will help prevent this type of thing in the future. need to follow up

closes #43
  • Loading branch information
virtuoushub authored Apr 25, 2022
1 parent c5f7bee commit ff2e0c5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion web/config/storybook.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
features: {
interactionsDebugger: true,
},
addons: ['@storybook/addon-essentials', '@storybook/addon-interactions'],
addons: ['@storybook/addon-interactions'],
}
1 change: 0 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"react-dom": "18.0.0"
},
"devDependencies": {
"@storybook/addon-essentials": "6.4.22",
"@storybook/addon-interactions": "6.4.22",
"@storybook/jest": "0.0.10",
"@storybook/test-runner": "0.0.7",
Expand Down
1 change: 0 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24945,7 +24945,6 @@ __metadata:
"@redwoodjs/forms": 1.1.1
"@redwoodjs/router": 1.1.1
"@redwoodjs/web": 1.1.1
"@storybook/addon-essentials": 6.4.22
"@storybook/addon-interactions": 6.4.22
"@storybook/jest": 0.0.10
"@storybook/test-runner": 0.0.7
Expand Down

0 comments on commit ff2e0c5

Please sign in to comment.