Repository navigation
Clean up deps count and add compiled core - #975
AlexanderKaran wants to merge 3 commits into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
framework-performance | 3cf0171 | Commit Preview URL Branch Preview URL |
Nov 28 2026, 07:35 AM |
There was a problem hiding this comment.
lgtm overall. i got two suggestions:
- backfilling
0means next (and its new runs until the follow up) says 0 compiled deps when it bundles around 140, and it'll look like a jump later. couldcoreCompiledbe optional and left unset until we actually measure it? - the switch is all
return 0right now, maybe acompiledDiron the framework config plus one counter would save a case per framework
@dreyfus92 as I add a meta-frameworks compiled check I will backfill with correct numbers. This ones easy to do locally. As for the switch I may change this. Went with it so when new frameworks get added it explicit something has to be added here. |
Ok this PR does a few things:
"nuxt": "4.7.0"Compiled count will not show in the charts, and each meta-framework that has compiled deps will get its own pr.
For example, you can find NextJS by looking in
node_modules/next/dist/compiled. Count the package.json files at the package level, including scoped packages such as@opentelemetry/api.Of course, compiled deps do not mean they end up in your final build, so I think just splitting it into dev deps, prod deps and compiled deps is best. I think trying to break down compiled deps to what makes it into prod and what does not is a bad idea.
Part of: #847
One question to tackle will be what to do about dupes. So what happens when a compiled dep is also in the main package.json but we can tackel that in the next PRs