Merge pull request #16259 from storybookjs/16162-fix-official-storybook-source

Official-storybook: Fix show source in no-args stories
This commit is contained in:
Michael Shilman 2021-10-06 18:59:10 +08:00 committed by GitHub
commit 709c966612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,9 +18,14 @@ const config: StorybookConfig = {
'@storybook/react',
{
name: '@storybook/addon-docs',
options: { transcludeMarkdown: true },
options: {
transcludeMarkdown: true,
// needed if you use addon-docs in conjunction
// with addon-storysource
sourceLoaderOptions: null,
},
},
{ name: '@storybook/addon-essentials' },
'@storybook/addon-essentials',
'@storybook/addon-storysource',
'@storybook/addon-links',
'@storybook/addon-jest',