2024-05-25 02:44:41 +02:00
|
|
|
import type { StorybookConfig } from "@storybook/react-vite";
|
|
|
|
|
|
|
|
const config: StorybookConfig = {
|
2024-06-04 22:05:44 +02:00
|
|
|
stories: ["../frontend/**/*.mdx", "../frontend/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
|
|
|
|
2024-05-28 21:12:28 +02:00
|
|
|
addons: [
|
|
|
|
"@storybook/addon-links",
|
|
|
|
"@storybook/addon-essentials",
|
|
|
|
"@chromatic-com/storybook",
|
|
|
|
"@storybook/addon-interactions",
|
|
|
|
],
|
2024-06-04 22:05:44 +02:00
|
|
|
|
|
|
|
core: {
|
|
|
|
builder: "@storybook/builder-vite",
|
|
|
|
},
|
|
|
|
|
2024-05-28 21:12:28 +02:00
|
|
|
framework: {
|
|
|
|
name: "@storybook/react-vite",
|
|
|
|
options: {},
|
|
|
|
},
|
2024-06-04 22:05:44 +02:00
|
|
|
|
|
|
|
docs: {},
|
|
|
|
|
2024-05-28 21:12:28 +02:00
|
|
|
managerHead: (head) => `
|
2024-05-25 02:44:41 +02:00
|
|
|
${head}
|
|
|
|
<meta name="robots" content="noindex" />
|
|
|
|
`,
|
2024-06-04 22:05:44 +02:00
|
|
|
|
|
|
|
typescript: {
|
|
|
|
reactDocgen: "react-docgen-typescript",
|
|
|
|
},
|
2024-05-25 02:44:41 +02:00
|
|
|
};
|
|
|
|
export default config;
|