Proof of concept for using Bazel to back a webpack module federation website
yarnfor local developmentyarn bazel COMMANDfor running any bazel based commands
If you want to try the federated site, you can do the following
- Make sure Docker is running on your machine.
yarn bazel build //...yarn bazel run //src/serverdocker-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.