https://github.com/jacob-ebey/esbuild-federation-example
Demonstrates consuming modules from a webpack bundle from an esbuild bundle using https://github.com/jacob-ebey/esbuild-federation-share-scope.
https://github.com/jacob-ebey/esbuild-federation-example
esbuild-plugin module-federation
Last synced: about 1 year ago
JSON representation
Demonstrates consuming modules from a webpack bundle from an esbuild bundle using https://github.com/jacob-ebey/esbuild-federation-share-scope.
- Host: GitHub
- URL: https://github.com/jacob-ebey/esbuild-federation-example
- Owner: jacob-ebey
- Created: 2021-06-24T00:04:24.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-12T23:14:22.000Z (almost 5 years ago)
- Last Synced: 2025-04-01T20:13:40.451Z (about 1 year ago)
- Topics: esbuild-plugin, module-federation
- Language: JavaScript
- Homepage: https://esbuild-federation-example-esbuild-host.vercel.app
- Size: 77.1 KB
- Stars: 49
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# esbuild federation example
Demonstrates consuming modules from a webpack bundle from an esbuild bundle using [esbuild-federation-share-scope](https://github.com/jacob-ebey/esbuild-federation-share-scope).
## See it live
esbuild-host: https://esbuild-federation-example-esbuild-host.vercel.app/
webpack-remote: https://esbuild-federation-example-webpack-remote.vercel.app/
## Running
From the root of the project:
```bash
yarn
yarn build
yarn start
```
or in the individual folders, you can run `vercel dev --listen 300{0 or 1}`
The webpack bundled application that owns the Header component will start on http://localhost:3001 while the esbuild bundled application that consumes the exposed Header component will start on http://localhost:3000.