Skip to content

Try to build a module federation app with library type set to module

License

Notifications You must be signed in to change notification settings

k4rl1/rspack-repro-mf-module-demo

 
 

Repository files navigation

rspack-repro

A GitHub template for creating a Rspack minimal reproducible example.

Webpack is included for comparing the outputs.

versions

    "@rspack/cli": "nightly",
    "webpack-cli": "^5.0.1",
    "webpack": "^5.79.0",

Usages

pnpm run build would both run Webpack and Rspack with config ./config.mjs

  • Webpack will emits output in ./webpack-dist
  • Rspack will emits output in ./rspack-dist

./webpack-dist and ./rspack-dist are purposely not added to .gitignore. It is recommended to commit these files so we quickly compare the outputs.

About

Try to build a module federation app with library type set to module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 55.3%
  • JavaScript 44.7%