mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
ADD gatsby-plugin-styled-components to FIX the FOUC in the new header
This commit is contained in:
parent
7a664aad01
commit
c017943abd
@ -60,6 +60,12 @@ module.exports = {
|
||||
path: `${__dirname}/src/pages/`,
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-plugin-styled-components`,
|
||||
options: {
|
||||
repoUrl: 'https://github.com/storybooks/storybook',
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: 'gatsby-transformer-remark',
|
||||
options: {
|
||||
|
@ -22,11 +22,13 @@
|
||||
"@storybook/addons": "5.0.0-rc.1",
|
||||
"@storybook/react": "5.0.0-rc.1",
|
||||
"babel-loader": "^6.4.1",
|
||||
"babel-plugin-styled-components": "^1.10.0",
|
||||
"bootstrap": "^4.3.1",
|
||||
"common-tags": "^1.8.0",
|
||||
"gatsby": "^1.9.279",
|
||||
"gatsby-link": "^1.6.45",
|
||||
"gatsby-plugin-sharp": "^1.6.48",
|
||||
"gatsby-plugin-styled-components": "^2.0.0",
|
||||
"gatsby-remark-autolink-headers": "^1.4.19",
|
||||
"gatsby-remark-copy-linked-files": "^1.5.37",
|
||||
"gatsby-remark-images": "^1.5.67",
|
||||
|
@ -2612,7 +2612,7 @@ babel-plugin-react-docgen@^2.0.2:
|
||||
react-docgen "^3.0.0"
|
||||
recast "^0.14.7"
|
||||
|
||||
"babel-plugin-styled-components@>= 1":
|
||||
"babel-plugin-styled-components@>= 1", babel-plugin-styled-components@^1.10.0:
|
||||
version "1.10.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.0.tgz#ff1f42ad2cc78c21f26b62266b8f564dbc862939"
|
||||
integrity sha512-sQVKG8irFXx14ZfaK1bBePirfkacl3j8nZwSZK+ZjsbnadRHKQTbhXbe/RB1vT6Vgkz45E+V95LBq4KqdhZUNw==
|
||||
@ -6965,6 +6965,13 @@ gatsby-plugin-sharp@^1.6.48:
|
||||
sharp "^0.20.0"
|
||||
svgo "^0.7.2"
|
||||
|
||||
gatsby-plugin-styled-components@^2.0.0:
|
||||
version "2.0.11"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-plugin-styled-components/-/gatsby-plugin-styled-components-2.0.11.tgz#c3d3438c7970bbcc116e821fb966687098bdaf57"
|
||||
integrity sha1-w9NDjHlwu8wRboIfuWZocJi9r1c=
|
||||
dependencies:
|
||||
babel-runtime "^6.26.0"
|
||||
|
||||
gatsby-react-router-scroll@^1.0.18:
|
||||
version "1.0.18"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.18.tgz#616ffb801dbdbe4598611e2ff3861b91ac3eecbf"
|
||||
|
Loading…
x
Reference in New Issue
Block a user