module-federation/module-federation-examples

Issue with react-storybook sample

Opened this issue · 0 comments

I'm exploring the react-storybook sample, trying to run a Storybook instance that renders a story from a remote module.
I can successfully run the basic host and remote applications included in the project, and they seem to communicate correctly:

Image

Image

However, when I try to run Storybook within the host application, it fails (both the storybook and build-storybook scripts) with this error:

Image

It seems that "remote/Button" is not being correctly resolved in the stories file, which is exactly what I'm trying to achieve.

Any clues on this?