mirror of
https://github.com/langgenius/dify.git
synced 2026-08-28 20:33:21 +08:00
30 lines
646 B
TypeScript
30 lines
646 B
TypeScript
import type { StorybookConfig } from '@storybook/nextjs'
|
|
|
|
const config: StorybookConfig = {
|
|
stories: ['../app/components/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
addons: [
|
|
'@storybook/addon-onboarding',
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-docs',
|
|
'@chromatic-com/storybook',
|
|
],
|
|
framework: {
|
|
name: '@storybook/nextjs',
|
|
options: {
|
|
builder: {
|
|
useSWC: true,
|
|
lazyCompilation: false,
|
|
},
|
|
nextConfigPath: undefined,
|
|
},
|
|
},
|
|
staticDirs: ['../public'],
|
|
core: {
|
|
disableWhatsNewNotifications: true,
|
|
},
|
|
docs: {
|
|
defaultName: 'Documentation',
|
|
},
|
|
}
|
|
export default config
|