This project demonstrates how to set up Rsbuild with Module Federation and Storybook using a custom Rsbuild plugin to inject a dynamic import required for Module Federation.
- Navigate to the
federation_storybook
directory:cd federation_storybook
- Install dependencies:
npm i
- Start Storybook:
npm run storybook
- Navigate to the
federation_consumer
directory:cd federation_consumer
- Install dependencies:
npm i
- Run the development server:
npm run dev