Skip to content

Build does not exit after successful run #95

Description

@robertdimitrov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions