Norbert de Langen 3cb74aea64
fixes
2022-05-31 11:00:30 +02:00

54 lines
1.4 KiB
JavaScript

module.exports = {
stories: ['../src/stories/**/*.stories.@(ts|mdx)'],
logLevel: 'debug',
addons: [
'@storybook/addon-docs',
'@storybook/addon-controls',
'@storybook/addon-storysource',
'@storybook/addon-actions',
'@storybook/addon-viewport',
'@storybook/addon-interactions',
'@storybook/addon-links',
'@storybook/addon-jest',
'@storybook/addon-backgrounds',
'@storybook/addon-a11y',
'@storybook/addon-toolbars',
],
core: {
builder: '@storybook/builder-webpack5',
channelOptions: { allowFunction: false, maxDepth: 10 },
disableTelemetry: true,
},
// These are just here to test composition. They could be added to any storybook example project
refs: {
react: {
title: 'ReactTS',
url: 'http://localhost:9011',
},
first: {
title: 'Composition test one',
url: 'https://storybookjs.netlify.app/cra-ts-essentials',
},
second: {
title: 'Composition test two',
url: 'https://storybookjs.netlify.app/cra-ts-essentials',
},
third: {
title: 'Composition test three',
url: 'https://storybookjs.netlify.app/cra-ts-essentials',
},
},
staticDirs: ['../src/assets'],
features: {
buildStoriesJson: false,
breakingChangesV7: false,
storyStoreV7: false,
},
framework: {
name: '@storybook/angular',
options: {
enableIvy: true,
},
},
};