Based on module federation and build on React and rsbuild
In order for module federation to work, you need to have a manifest file.
- Production: Fetch the manifest from the remote server using
PUBLIC_MANIFEST
environment variable - Local Development: Use a local manifest file
- Locate the manifest template at ./public/bf-manifest-example.json
- Create a copy named
bf-manifest-local.json
in thepublic
directory - Modify the copied file according to your requirements
- create
.npmrc
with your custom github token bun i
bun run dev