Hello,
I’m seeing a problem where the production build finishes successfully, but the process never exits when using the native federation builder:
$ ng build --configuration production
# ...
Application bundle generation complete (...)
Output location: (...)
# (process keeps running)
Expected behavior
After a successful build, the process should exit with code 0.
Actual behavior
Build artifacts are generated, but the terminal command never finishes unless I manually kill the process (problematic on our CI/CD pipeline).
angular.json (relevant part)
"build": {
"builder": "@angular-architects/native-federation:build",
"options": {
"cacheExternalArtifacts": true,
"watch": false
},
"configurations": {
"production": {
"target": "my-frontend:esbuild:production",
"dev": false
}
}
}
Environment
- OS: macOS 26.5.1
- Node: v26.3.1
- npm: 11.16.0
Relevant dependency versions
- @angular-architects/native-federation@22.0.6
- @angular/build@22.0.6
- @angular/cli@22.0.8
- @angular/common@22.0.6
- @angular/compiler@22.0.6
- @angular/compiler-cli@22.0.6
- @softarc/native-federation-orchestrator@4.5.2
- typescript@6.0.3
Notes
Hello,
I’m seeing a problem where the production build finishes successfully, but the process never exits when using the native federation builder:
Expected behavior
After a successful build, the process should exit with code 0.
Actual behavior
Build artifacts are generated, but the terminal command never finishes unless I manually kill the process (problematic on our CI/CD pipeline).
angular.json (relevant part)
Environment
Relevant dependency versions
Notes
process.exit()change from https://github.com/native-federation/angular-adapter/pull/57/changes locally it works fine