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

--stats-json to allow giving stats to both server and browser, separately #28185

Open
tsteuwer-accesso opened this issue Aug 9, 2024 · 1 comment
Labels
angular/build:application area: @angular/build feature: in backlog Feature request for which voting has completed and is now in the backlog feature Issue that requests a new feature

Comments

@tsteuwer-accesso
Copy link

Command

build

Description

It would be a lot simpler to debug your stats json if we had a separate server and browser stats. As it is right now, everything is bundled together and is a huge pain trying to figure things out. You have to manually look at what the cli output said was for server and what was for browser, then go through the json and manually separate things. This can take a long time. And then, when you find one thing, you have to build again, just to start the process over to see if you made improvements.

Describe the solution you'd like

I would like a stats.browser.json and a stats.server.json so I can independently figure out what's being included in the bundle for the server versus the browser.

Describe alternatives you've considered

There are none that I'm aware of.

@alan-agius4 alan-agius4 added feature Issue that requests a new feature feature: in backlog Feature request for which voting has completed and is now in the backlog angular/build:application area: @angular/build labels Aug 9, 2024
@koenig-dominik
Copy link

koenig-dominik commented Aug 14, 2024

I would actually go a step further and also separate the initial chunk files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
angular/build:application area: @angular/build feature: in backlog Feature request for which voting has completed and is now in the backlog feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

3 participants