mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
25 lines
587 B
TypeScript
25 lines
587 B
TypeScript
import type { StorybookConfig } from '@storybook/server-webpack5';
|
|
|
|
const mainConfig: StorybookConfig = {
|
|
stories: ['../stories/**/*.stories.@(json|yaml|yml)'],
|
|
logLevel: 'debug',
|
|
addons: [
|
|
'@storybook/addon-docs',
|
|
'@storybook/addon-a11y',
|
|
'@storybook/addon-actions',
|
|
'@storybook/addon-backgrounds',
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-controls',
|
|
'@storybook/addon-highlight',
|
|
],
|
|
core: {
|
|
disableTelemetry: true,
|
|
},
|
|
features: {
|
|
storyStoreV7: false,
|
|
},
|
|
framework: '@storybook/server-webpack5',
|
|
};
|
|
|
|
module.exports = mainConfig;
|