Skip to content

Update Storybook build output location - #91

Merged
touyou merged 3 commits into
mainfrom
codex/output-storybook-to-public/storybook
Jun 26, 2025
Merged

Update Storybook build output location#91
touyou merged 3 commits into
mainfrom
codex/output-storybook-to-public/storybook

Conversation

@touyou

@touyou touyou commented Jun 26, 2025

Copy link
Copy Markdown
Member

Summary

  • set Storybook build output to public/storybook
  • ignore public/storybook directory

Testing

  • pnpm lint

https://chatgpt.com/codex/tasks/task_b_685ce755500c832cab4fd38428ef7c6e

- build-storybookスクリプトに出力先を指定
- public/storybookを.gitignoreに追加
Copilot AI review requested due to automatic review settings June 26, 2025 06:27
@vercel

vercel Bot commented Jun 26, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sparkle-design ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 6:54am

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Storybook build output location to "public/storybook" and ensures that the corresponding directory is ignored.

  • Updated the "build-storybook" script in package.json to include the "--output-dir" parameter.
  • Confirmed that the public/storybook directory is excluded from version control.
Comments suppressed due to low confidence (1)

package.json:16

  • [nitpick] The updated build-storybook script clearly specifies the output directory. Consider adding or updating documentation to indicate that generated Storybook files will now reside in 'public/storybook'.
    "build-storybook": "storybook build --output-dir public/storybook",

- buildCommandをvercel.jsonで管理
- Storybookのリダイレクト先を更新
- staticDirsを空にして自己コピーを防止
@touyou
touyou merged commit 4804540 into main Jun 26, 2025
@touyou
touyou deleted the codex/output-storybook-to-public/storybook branch June 26, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants