modernweb-dev / storybook-prebuilt

Storybook prebuilt to work with native es modules
MIT License
36 stars 9 forks source link

fix: require React locally to override peerdependency resolutions #106

Closed Westbrook closed 2 years ago

Westbrook commented 2 years ago

fixes #105

I've run an alpha as @web/storybook-prebuilt@0.1.32-alpha.0 so maybe @abdonrd could get me a second on this fixing things.

Locally the preview now run again in the repo, so this should do the trick. It looks like the peer dependency on React at a higher level in some dependencies that in Storybook was buggering the version resolution and leaving it out of node_modules and thus out of the build. Installing locally is not my favorite fix, but I'm not sure what we can do while Storybook remains on v16...

Thoughts?