Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(storybook-builder): fix tocbot default import by @storybook/blocks #2675

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

bashmish
Copy link
Member

@bashmish bashmish commented Mar 18, 2024

What I did

  1. (storybook-builder): fix tocbot default import by @storybook/blocks

At least before 7.4.0 the Storybook used default import from tocbot.
I noticed that when testing in #2485
At some point it was changed to named init and destroy, therefore I didn't noticed this in my manual test earlier with later versions.
For backwards compatibility it's best to fix this.

Copy link

changeset-bot bot commented Mar 18, 2024

🦋 Changeset detected

Latest commit: 331e621

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@web/storybook-builder Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bashmish bashmish merged commit daf2ca8 into master Mar 18, 2024
5 of 6 checks passed
@bashmish bashmish deleted the fix/storybook-builder-tocbot-default branch March 18, 2024 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant