* WIP - upgrade storybook via `npx sb upgrade`

* fix broken storybook build - use custom MiniCssExtractPlugin package

Co-authored-by: haszari <rua@automattic.com>
This commit is contained in:
Rua Haszard 2020-09-09 07:54:42 +12:00 committed by GitHub
parent 92b37234f6
commit 2002c74289
3 changed files with 2121 additions and 1871 deletions

File diff suppressed because it is too large Load Diff

View File

@ -143,16 +143,16 @@
"@babel/plugin-transform-react-jsx": "7.10.4", "@babel/plugin-transform-react-jsx": "7.10.4",
"@babel/runtime-corejs2": "7.11.2", "@babel/runtime-corejs2": "7.11.2",
"@octokit/graphql": "4.5.4", "@octokit/graphql": "4.5.4",
"@storybook/addon-a11y": "5.3.18", "@storybook/addon-a11y": "6.0.21",
"@storybook/addon-actions": "5.3.18", "@storybook/addon-actions": "6.0.21",
"@storybook/addon-console": "1.2.1", "@storybook/addon-console": "1.2.1",
"@storybook/addon-docs": "5.3.18", "@storybook/addon-docs": "6.0.21",
"@storybook/addon-knobs": "5.3.18", "@storybook/addon-knobs": "6.0.21",
"@storybook/addon-links": "5.3.18", "@storybook/addon-links": "6.0.21",
"@storybook/addon-storysource": "5.3.18", "@storybook/addon-storysource": "6.0.21",
"@storybook/addon-viewport": "5.3.18", "@storybook/addon-viewport": "6.0.21",
"@storybook/addons": "5.3.18", "@storybook/addons": "6.0.21",
"@storybook/react": "5.3.18", "@storybook/react": "6.0.21",
"@testing-library/jest-dom": "5.11.4", "@testing-library/jest-dom": "5.11.4",
"@testing-library/react": "10.4.9", "@testing-library/react": "10.4.9",
"@testing-library/react-hooks": "3.4.1", "@testing-library/react-hooks": "3.4.1",

View File

@ -1,7 +1,7 @@
/** /**
* External dependencies * External dependencies
*/ */
const MiniCssExtractPlugin = require( 'mini-css-extract-plugin' ); const MiniCssExtractPlugin = require( '@automattic/mini-css-extract-plugin-with-rtl' );
const path = require( 'path' ); const path = require( 'path' );
/** /**