module.exports = { stories: ['../src/stories/**/*.stories.@(js|mdx)'], logLevel: 'debug', addons: [ '@storybook/addon-docs', '@storybook/addon-controls', '@storybook/addon-storysource', '@storybook/addon-actions', '@storybook/addon-interactions', '@storybook/addon-links', '@storybook/addon-viewport', '@storybook/addon-backgrounds', '@storybook/addon-a11y', ], core: { builder: 'webpack4', channelOptions: { allowFunction: false, maxDepth: 10 }, disableTelemetry: true, }, staticDirs: ['../public'], features: { buildStoriesJson: true, storyStoreV7: !global.navigator?.userAgent?.match?.('jsdom'), }, };