mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 07:00:07 +08:00
Allow storyshots to be added in main.js
This commit is contained in:
parent
013f2658e3
commit
c1627758d7
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