Allow storyshots to be added in main.js

This commit is contained in:
Michael Shilman 2021-02-09 10:51:30 +08:00
parent 013f2658e3
commit c1627758d7
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,