mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This PR will fix https://github.com/vercel/next.js/issues/67206 - [x] contributing guidelines for examples are followed - [x] lint runs without errors
28 lines
553 B
TypeScript
28 lines
553 B
TypeScript
import type { StorybookConfig } from "@storybook/nextjs";
|
|
|
|
const config: StorybookConfig = {
|
|
stories: [
|
|
"../stories/**/*.mdx",
|
|
"../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)",
|
|
],
|
|
addons: [
|
|
"@storybook/addon-links",
|
|
"@storybook/addon-essentials",
|
|
"@chromatic-com/storybook",
|
|
"@storybook/addon-interactions",
|
|
],
|
|
framework: {
|
|
name: "@storybook/nextjs",
|
|
options: {
|
|
builder: {
|
|
useSWC: true,
|
|
},
|
|
},
|
|
},
|
|
docs: {
|
|
autodocs: "tag",
|
|
},
|
|
staticDirs: ["../public"],
|
|
};
|
|
export default config;
|