Skip to content

Commit

Permalink
fix: fix entry point for storybook, add storybook static ouput to git…
Browse files Browse the repository at this point in the history
…ignore (vercel#67207)

This PR will fix vercel#67206

- [x] contributing guidelines for examples are followed
- [x] lint runs without errors
  • Loading branch information
crebelskydico committed Jun 26, 2024
1 parent 5999c78 commit b9ffa84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/with-storybook/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts

*storybook.log
# storybook
*storybook.log
/storybook-static
5 changes: 4 additions & 1 deletion examples/with-storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit b9ffa84

Please sign in to comment.