modernweb-dev / web

Guides, tools and libraries for modern web development.
https://modern-web.dev
MIT License
2.21k stars 281 forks source link

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

Closed bashmish closed 6 months ago

bashmish commented 6 months ago

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.

changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: 331e62152264f95cc0fa837eb23d322c6da95b96

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