mswjs / msw-storybook-addon

Mock API requests in Storybook with Mock Service Worker.
https://msw-sb.vercel.app
MIT License
408 stars 39 forks source link

Storybook build is broken with 2.0 beta version #142

Closed BortsovaSvetlana closed 7 months ago

BortsovaSvetlana commented 8 months ago

Hey everyone! I get an error with msw-storybook-addon@2.0.0-beta.1 version, but storybook works fine with canary version 2.0.0--canary.122.b3ed3b1.0. I changed only version and got broken build. Does anyone have an idea why it happens? I use "msw": "2.2.1"

image
yannbf commented 7 months ago

Hey everyone! Finally the major version is out. Sorry for such a long wait, I had to make sure the addon aligned with Storybook 8 and worked correctly in the portable stories (using stories in Vitest,Jest) scenario.

Please check the release notes, try it out and provide feedback in case issues arise: https://github.com/mswjs/msw-storybook-addon/releases/tag/v2.0.0

Thanks!