Skip to content

Commit

Permalink
chore: update storybook instructions (#5624)
Browse files Browse the repository at this point in the history
Recent changes to entry points have caused the storybook build to be
inadequate resulting in errors like
`Can't resolve '@chakra-ui/hooks/use-animation-state'`.

See #5571
  • Loading branch information
matt-tingen committed Feb 20, 2022
1 parent 0542b8a commit 0416e07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ end with `.stories.tsx`.

### Storybook

Build components in isolation with Storybook using `yarn storybook`
Build components in isolation with Storybook. When using Storybook, the build
process needs to be run separately. Run `yarn build && yarn preconstruct watch`
in one terminal and then `yarn storybook` in a second terminal.

## Think you found a bug?

Expand Down

1 comment on commit 0416e07

@vercel
Copy link

@vercel vercel bot commented on 0416e07 Feb 20, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.