Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[es-build - Angular 17] Real outputPath in angular.json without "browser" Subfolder being forced of dist assets #26356

Closed
iqmeta opened this issue Nov 14, 2023 · 2 comments

Comments

@iqmeta
Copy link

iqmeta commented Nov 14, 2023

Command

build

Description

With Angular 17 forced "browser" in dist path was introduced,
which breaks a lot with middlewares/api and base-ref paths hosting multiple angular ui's within one wwwroot.
Addtional dev setups with paths matching unitl now the final deployment path does now break on setup with complex solutions.

See problems of some devs already descriped here: #26304

I guess a lots of more enterprise dev will hit this change after trying to upgrade the angular 16 and earlier projects.

Describe the solution you'd like

Let developers / devops set the real output path for the build assets
in the angular.json

 "outputPath": {
     browser: "../backend/wwwroot/admin",
     ssr: "../backend/not-public-server-side-rendering",
     whatever: "\\server\share\whatever"
}

Something like this would give dev fully fredom of deploy paths avoiding some addional hacky move scripts and so on.

Describe alternatives you've considered

Additional and until now unnecessary move/delete scripts of the content in the /browser/ folder and so on.

@iqmeta iqmeta changed the title Proper outputPath in angular.json [es-build - Angular 17] Real outputPath in angular.json without "browser" Subfolder being forced of dist assets Nov 14, 2023
@dgp1130
Copy link
Collaborator

dgp1130 commented Nov 14, 2023

Duplicate of #26304

@dgp1130 dgp1130 marked this as a duplicate of #26304 Nov 14, 2023
@dgp1130 dgp1130 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2023
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants