Some checks failed
✅ Check / 🔬 ESLint (push) Failing after 21s
✅ Check / 🏷️ Typecheck (push) Failing after 11s
✅ Check / 🔎 Test (push) Failing after 11s
✅ Check / e2e-test (push) Failing after 11s
✅ Check / 🔨 Build (push) Failing after 11s
🚀 Deploy / 🚀 Deploy (doc) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (demo) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (supabase) (push) Failing after 18s
22 lines
491 B
TypeScript
22 lines
491 B
TypeScript
import type { StorybookConfig } from "@storybook/react-vite";
|
|
import path from "node:path";
|
|
|
|
const config: StorybookConfig = {
|
|
stories: ["../src/**/*.stories.@(ts|tsx)"],
|
|
addons: [],
|
|
framework: {
|
|
name: "@storybook/react-vite",
|
|
options: {},
|
|
},
|
|
viteFinal: async (config) => {
|
|
config.resolve ??= {};
|
|
config.resolve.alias = {
|
|
...(config.resolve.alias ?? {}),
|
|
"@": path.resolve(__dirname, "../src"),
|
|
};
|
|
return config;
|
|
},
|
|
};
|
|
|
|
export default config;
|