Skip to content

Commit

Permalink
fix: change storybook builder to webpack5 (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Jun 10, 2022
1 parent 76a6539 commit 2df44c1
Show file tree
Hide file tree
Showing 3 changed files with 2,042 additions and 1,902 deletions.
4 changes: 4 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module.exports = {
core: {
builder: 'webpack5',
},
stories: ['../src/**/__docs__/*.mdx', '../src/**/__docs__/*.tsx'],
addons: [
'@storybook/addon-postcss',
'@storybook/addon-links',
{
name: '@storybook/addon-essentials',
Expand Down
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
},
"devDependencies": {
"@babel/core": "^7.18.2",
"@commitlint/cli": "^17.0.1",
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@commitlint/cz-commitlint": "^17.0.0",
"@jamesacarr/eslint-formatter-github-actions": "^0.1.0",
Expand All @@ -92,15 +92,18 @@
"@storybook/addon-docs": "^6.5.8",
"@storybook/addon-essentials": "^6.5.8",
"@storybook/addon-links": "^6.5.8",
"@storybook/addons": "^6.5.4",
"@storybook/react": "^6.4.22",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addons": "^6.5.8",
"@storybook/builder-webpack5": "^6.5.8",
"@storybook/manager-webpack5": "^6.5.8",
"@storybook/react": "^6.5.8",
"@storybook/storybook-deployer": "^2.8.11",
"@storybook/theming": "^6.5.7",
"@storybook/theming": "^6.5.8",
"@testing-library/react-hooks": "^8.0.0",
"@types/jest": "^28.1.1",
"@types/js-cookie": "^3.0.2",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
"babel-loader": "^8.2.5",
"commitizen": "^4.2.4",
"commitlint": "^17.0.2",
Expand Down

0 comments on commit 2df44c1

Please sign in to comment.