dify/web/.storybook/main.ts
yyh 00bf3f83f2
refactor: verticalize tag management and batch bindings (#35840)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-07 01:36:10 +00:00

25 lines
618 B
TypeScript

import type { StorybookConfig } from '@storybook/nextjs-vite'
const config: StorybookConfig = {
stories: [
'../app/components/**/*.stories.@(js|jsx|mjs|ts|tsx)',
'../features/**/*.stories.@(js|jsx|mjs|ts|tsx)',
],
addons: [
// Not working with Storybook Vite framework
// '@storybook/addon-onboarding',
'@storybook/addon-links',
'@storybook/addon-docs',
'@chromatic-com/storybook',
],
framework: '@storybook/nextjs-vite',
staticDirs: ['../public'],
core: {
disableWhatsNewNotifications: true,
},
docs: {
defaultName: 'Documentation',
},
}
export default config