Skip to content

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

@tsteuwer-accesso

Description

@tsteuwer-accesso

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions