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

Application Builder outputs contents into /[OutputPath]/browser rather than /[OutputPath/ #26028

Closed
1 task
thaoula opened this issue Oct 13, 2023 · 2 comments
Closed
1 task

Comments

@thaoula
Copy link

thaoula commented Oct 13, 2023

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

Hi Team.

I just updated the builder on our application from 'build-angular:browser-esbuild' -> build-angular:application.

I now see the build output is in a subdirectory called browser.

This change will require people to update container builds or CI build configurations. Is there anyway to disable this behaviour?

Regards,
Tarek

Minimal Reproduction

  1. Change builder 'build-angular:browser-esbuild' -> build-angular:application'
  2. Build
  3. Dist folder will contain a folder called browser.

Exception or Error

Dist folder is not the dist folder. The browser subfolder folder is the dist folder

Your Environment

@angular-devkit/architect       0.1700.0-next.9
@angular-devkit/build-angular   17.0.0-next.9
@angular-devkit/core            17.0.0-next.9
@angular-devkit/schematics      17.0.0-next.9
@angular/cdk                    16.2.0
@angular/cdk-experimental       16.2.5
@angular/cli                    17.0.0-next.9
@schematics/angular             17.0.0-next.9
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.0

Anything else relevant?

No response

@JeanMeche
Copy link
Member

JeanMeche commented Oct 13, 2023

This is the espected behaviour since the new builder supports ssr.

The regular/prerendered spa app will be in outputpath/browser while the ssr app will be in ouputpath/server.

@JeanMeche JeanMeche closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2023
9034725985 pushed a commit to angularseventeen/angularseventeen.github.io that referenced this issue Nov 8, 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 Nov 13, 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