use new stories config pattern

This commit is contained in:
Jon Palmer 2021-07-18 11:20:53 -04:00
parent 11e078dca9
commit 291ba0116c
No known key found for this signature in database
GPG Key ID: 52E08C6A304553A8

View File

@ -1,5 +1,5 @@
module.exports = {
stories: ['../stories/**/*.stories.@(json|yaml|yml)'],
stories: [{ directory: '../stories/', files: '**/*.stories.@(json|yaml|yml)' }],
logLevel: 'debug',
addons: [
'@storybook/addon-docs',