Merge pull request #13842 from storybookjs/7959-fix-storyshots-as-addon

Storyshots: Support main.js usage
This commit is contained in:
Michael Shilman 2021-02-10 23:20:17 +08:00 committed by GitHub
commit b76f5f781f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,4 @@
// storyshots is not a typical addon because it's just a command-line tool
// nevertheless if you add it to .storybook/main.js it shouldn't complain
// https://github.com/storybookjs/storybook/issues/7959
module.exports = {};

View File

@ -0,0 +1,4 @@
// storyshots is not a typical addon because it's just a command-line tool
// nevertheless if you add it to .storybook/main.js it shouldn't complain
// https://github.com/storybookjs/storybook/issues/7959
module.exports = {};

View File

@ -16,6 +16,7 @@ module.exports = {
},
},
},
'@storybook/addon-storyshots',
],
typescript: {
check: true,