mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 01:51:05 +08:00
22 lines
579 B
TypeScript
22 lines
579 B
TypeScript
import type { StorybookConfig } from '@storybook/react-webpack5';
|
|
|
|
const config: StorybookConfig = {
|
|
stories: ['../../../lib/blocks/src/**/*.stories.*'],
|
|
logLevel: 'debug',
|
|
addons: ['@storybook/addon-essentials'],
|
|
core: {
|
|
channelOptions: { allowFunction: false, maxDepth: 10 },
|
|
disableTelemetry: true,
|
|
},
|
|
features: {
|
|
postcss: false,
|
|
storyStoreV7: true,
|
|
buildStoriesJson: true,
|
|
babelModeV7: true,
|
|
warnOnLegacyHierarchySeparator: false,
|
|
breakingChangesV7: true,
|
|
},
|
|
framework: '@storybook/react-webpack5',
|
|
};
|
|
module.exports = config;
|