Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.