import type { StorybookConfig } from '@storybook/react-vite' import remarkGfm from 'remark-gfm' const config: StorybookConfig = { stories: ['../src/**/*.mdx', '../../../packages/ui/src/**/*.stories.@(ts|tsx)'], addons: [ { name: '@storybook/addon-docs', // GitHub-flavoured Markdown, so tables in the Introduction pages render. options: { mdxPluginOptions: { mdxCompileOptions: { remarkPlugins: [remarkGfm] } } }, }, '@storybook/addon-a11y', ], framework: { name: '@storybook/react-vite', options: {}, }, // Serves the Tansy mark and favicon to the manager and the Welcome page. staticDirs: ['../../../packages/brand/public'], docs: { defaultName: 'Documentation', }, } export default config