Skip to content

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

Notifications You must be signed in to change notification settings

appzuka/module-federation-ts-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published