28 lines
606 B
TypeScript
28 lines
606 B
TypeScript
import type { StorybookConfig } from "@storybook/react-vite";
|
|
|
|
const config: StorybookConfig = {
|
|
core: {
|
|
disableTelemetry: true,
|
|
},
|
|
stories: [
|
|
"../stories/**/*.mdx",
|
|
"../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)",
|
|
],
|
|
addons: [
|
|
"@storybook/addon-onboarding",
|
|
"@storybook/addon-links",
|
|
"@storybook/addon-essentials",
|
|
"@chromatic-com/storybook",
|
|
"@storybook/addon-interactions",
|
|
],
|
|
framework: {
|
|
name: "@storybook/react-vite",
|
|
options: {
|
|
builder: {
|
|
viteConfigPath: "./vite-storybook.config.ts",
|
|
},
|
|
},
|
|
},
|
|
};
|
|
export default config;
|