Wei
Wei
The plugin is using `webpack-virtual-modules` https://github.com/robdonn/storybook-module-federation/blob/main/src/main.ts#L1 here, which is not supported by Rspack as of now (see https://www.rspack.dev/api/javascript-api#custom-file-systems)
@artieeez Nice try, while Rspack is trying to implement the built-in virtual module support in the near future. I think we could wait for that and contribute it to https://github.com/robdonn/storybook-module-federation....
Good news: we got https://module-federation.io/guide/start/npm-packages.html#module-federationstorybook-addon now, you could give it a try.
The addon support v8 IIUC, PLAT @nyqykk.
It works with storybook8 actually, we had built some projects with it. There is something wrong in the package.json dependencies declaration. I will fix it.
In the Storybook philosophy, the project with its builder or framework exists first, then Storybook comes and detect what's tool chain been using and end up with an automatic heuristic...
You could try running `DEBUG=rsbuild pnpm build:storybook` then in the debug log you'll find something like ```bash - Rsbuild Config: /Users/bytedance/Projects/storybook-rsbuild/sandboxes/react-rsbuild/storybook-static/rsbuild.config.mjs - Rspack Config (web): /Users/bytedance/Projects/storybook-rsbuild/sandboxes/react-rsbuild/storybook-static/rspack.config.web.mjs ``` You can attach...
Which version of storybook are you using. In the project's sandbox, these functionality works whereas they're in different UI (8.2.1).
I took a look into the source code. The new button will show when https://github.com/storybookjs/storybook/blob/next/code/core/src/builder-manager/utils/framework.ts/#L38 is `true`, and `extractProperRendererNameFromFramework` can only detect enumerated frameworks here (https://github.com/storybookjs/storybook/blob/next/code/core/src/common/utils/get-storybook-info.ts#L30-L49). The solution is to...
> the Save functionality in the Storybook UI stopped working: Could you provide a minimal reproduction? It at least works in sandbox. https://github.com/user-attachments/assets/d0e41225-f9d0-4471-a7a7-98043d841480