mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? - update storybook version - use `SWC` for perf - pinging dep for security of the example - update readme to have correct link Co-authored-by: Sam Ko <[email protected]>
22 lines
474 B
TypeScript
22 lines
474 B
TypeScript
import type { StorybookConfig } from "@storybook/nextjs";
|
|
const config: StorybookConfig = {
|
|
stories: ["../stories/**/*.mdx", "../stories/**/*.stories.@(js|jsx|ts|tsx)"],
|
|
addons: [
|
|
"@storybook/addon-links",
|
|
"@storybook/addon-essentials",
|
|
"@storybook/addon-interactions",
|
|
],
|
|
framework: {
|
|
name: "@storybook/nextjs",
|
|
options: {
|
|
builder: {
|
|
useSWC: true,
|
|
},
|
|
},
|
|
},
|
|
docs: {
|
|
autodocs: "tag",
|
|
},
|
|
};
|
|
export default config;
|