Skip to content

Restore deploy-url #23447

@bryanrideshark

Description

@bryanrideshark

Which @angular/* package(s) are the source of the bug?

compiler-cli

Is this a regression?

Yes

Description

DeployUrl was deprecated and removed, which made it impossible to release Angular applications in the way we had been doing it for 5+ years.

We need to deploy assets etc. at a CDN, which is a separate domain from where the application index.html is hosted. We had been using the deployUrl option to ensure that lazily loaded resources were properly resolved - this option was removed without a clear replacement.

We are locked at Version 12 until this is remedied.

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 14.0.3
Node: 14.19.0
Package Manager: npm 6.14.16
OS: win32 x64

Angular: 14.0.3
... animations, cdk, cli, common, compiler, compiler-cli, core
... elements, forms, language-service, material
... platform-browser, platform-browser-dynamic, router, upgrade

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.1400.3
@angular-devkit/build-angular     14.0.3
@angular-devkit/build-optimizer   0.1202.16
@angular-devkit/build-webpack     0.1400.3
@angular-devkit/core              12.1.3
@angular-devkit/schematics        14.0.3
@schematics/angular               12.1.3
@schematics/schematics            0.1102.12
@schematics/update                0.1102.12
ng-packagr                        14.0.2
rxjs                              7.5.4
typescript                        4.6.4

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    2022Q3 FixitCandidates for the Q3 2022 fix-it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions