mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 05:41:06 +08:00
Merge pull request #13842 from storybookjs/7959-fix-storyshots-as-addon
Storyshots: Support main.js usage
This commit is contained in:
commit
b76f5f781f
4
addons/storyshots/storyshots-core/preset.js
Normal file
4
addons/storyshots/storyshots-core/preset.js
Normal 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 = {};
|
4
addons/storyshots/storyshots-puppeteer/preset.js
Normal file
4
addons/storyshots/storyshots-puppeteer/preset.js
Normal 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 = {};
|
@ -16,6 +16,7 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
'@storybook/addon-storyshots',
|
||||
],
|
||||
typescript: {
|
||||
check: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user