Skip to content

Single Bundle Build for mono repo not working #30662

Closed as not planned
Closed as not planned
@sidram01

Description

@sidram01

Command

build

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

@angular-devkit/build-angular used to create a single bundle build for my web element build on angular 20
as a standalone app the single bundle build is working , but when migrated as part of a mono repo the single bundle build is not working

Minimal Reproduction

"elem:build": "ng build APP_NAME  --single-bundle true" 

i had to add a concat js to create single bundle
"build:bundle": "npm run build:prod:APP_NAME && node scripts/concat-bundle.js",

Exception or Error


Your Environment

Angular CLI: 20.0.5
Node: 22.14.0
Package Manager: yarn 1.22.22
OS: darwin arm64

Angular: 20.0.6
... common, compiler, compiler-cli, core, elements, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.2000.5
@angular-devkit/build-angular   20.0.5
@angular-devkit/core            20.0.5
@angular-devkit/schematics      20.0.5
@angular/build                  20.0.5
@angular/cli                    20.0.5
@schematics/angular             20.0.5
rxjs                            7.8.2
typescript                      5.8.3
zone.js                         0.15.1

Anything else relevant?

No response

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