Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack 5 Module Federation with ts-loader

This is a version of the Basic One-Way example at the repository below, modified to use ts-loader.

https://github.com/module-federation/module-federation-examples

Instructions

Install yarn and lerna globally.

To install packages for both apps:

lerna bootstrap

Basic One-Way Example

This example demos a basic host application loading remote component.

  • app1 is the host application.
  • app2 standalone application which exposes Button component.

Running Demo

Run yarn start. This will build and serve both app1 and app2 on ports 3001 and 3002 respectively.

About

This is a version of the Basic One-Way example modified to use ts-loader.

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages