fix: fix entry point for storybook, add storybook static ouput to gitignore (#67207)

This PR will fix https://github.com/vercel/next.js/issues/67206

- [x] contributing guidelines for examples are followed
- [x] lint runs without errors
This commit is contained in:
Christian Rebelsky 2024-06-26 15:25:42 +02:00 committed by GitHub
parent 5999c78a4b
commit b9ffa84303
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -35,4 +35,6 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts
*storybook.log
# storybook
*storybook.log
/storybook-static

View file

@ -1,7 +1,10 @@
import type { StorybookConfig } from "@storybook/nextjs";
const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
stories: [
"../stories/**/*.mdx",
"../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)",
],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",