mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 18:21:50 +03:00
20 lines
496 B
TypeScript
20 lines
496 B
TypeScript
import type { StorybookConfig } from '@storybook/react-vite';
|
|
|
|
export default {
|
|
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
staticDirs: ['../../../apps/web/public'],
|
|
addons: [
|
|
'@storybook/addon-links',
|
|
'storybook-dark-mode-v7',
|
|
'@storybook/addon-interactions',
|
|
],
|
|
framework: {
|
|
name: '@storybook/react-vite',
|
|
options: {
|
|
builder: {
|
|
viteConfigPath: '.storybook/vite.config.ts',
|
|
},
|
|
},
|
|
},
|
|
} as StorybookConfig;
|