Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 month 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-12T23:14:22.000Z (over 3 years ago)
- Last Synced: 2024-05-01T14:26:20.656Z (8 months ago)
- Topics: esbuild-plugin, module-federation
- Language: JavaScript
- Homepage: https://esbuild-federation-example-esbuild-host.vercel.app
- Size: 77.1 KB
- Stars: 47
- Watchers: 3
- 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.