Skip to content

sumwatshade/bazel-module-federation

 
 

Repository files navigation

bazel-module-federation

Proof of concept for using Bazel to back a webpack module federation website

Setup

  1. yarn for local development
  2. yarn bazel COMMAND for running any bazel based commands

Run

If you want to try the federated site, you can do the following

  1. Make sure Docker is running on your machine.
  2. yarn bazel build //...
  3. yarn bazel run //src/server
  4. docker-compose up -d

You can then navigate to http://localhost:8080/ to see the default route and http://localhost:8080/secondary route.

When done, run docker-compose down

It is recommended you use StackBuild plugin for VSCode to get good Bazel integration.

About

Proof of concept for using Bazel to back a webpack module federation website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Starlark 51.8%
  • JavaScript 47.9%
  • Shell 0.3%