Bundle Analyzer Agent Skill: Add browser initial-load eval (#99178)
## Summary Add a click-gated CodeMirror eval that measures cold browser JavaScript before and after optimization. Require lazy loading, preload on hover, working editing, and a 200,000-byte initial-load budget. Share measurement and setup helpers under `evals/lib/bundle-optimizer/`. Require invocation of `next-bundle-optimizer` in the skills treatment. ## Verification - Root and eval TypeScript checks pass on the rebased stack. - Formatting, focused ESLint, and local setup/transcript checks pass. - Remote agent evals not rerun after these updates. - Bootstrap build blocked by a registry 401 while resolving `@pnpm/exe@10.33.0`. <!-- NEXT_JS_LLM --> <!-- fleet d7bdbc2b-b0bc-4591-99eb-dccb0fa49c73 --> <!-- fleet ea768377-d71c-4a15-90b2-f4d50d4f6a1c --> --------- Co-authored-by:vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com> Co-authored-by:
Will Binns-Smith <755844+wbinnssmith@users.noreply.github.com>
Showing
evals/.gitignore
0 → 100644
evals/types/sandbox.d.ts
0 → 100644
| ... | @@ -186,6 +186,7 @@ | ... | @@ -186,6 +186,7 @@ |
| "dd-trace": "4.12.0", | "dd-trace": "4.12.0", | ||
| "dotenv": "16.4.7", | "dotenv": "16.4.7", | ||
| "es5-ext": "0.10.53", | "es5-ext": "0.10.53", | ||
| "esbuild": "0.25.9", | |||
| "escape-string-regexp": "2.0.0", | "escape-string-regexp": "2.0.0", | ||
| "eslint": "9.37.0", | "eslint": "9.37.0", | ||
| "eslint-config-next": "workspace:*", | "eslint-config-next": "workspace:*", | ||
| ... | @@ -290,6 +291,7 @@ | ... | @@ -290,6 +291,7 @@ |
| "typescript": "6.0.2", | "typescript": "6.0.2", | ||
| "typescript-eslint": "8.46.0", | "typescript-eslint": "8.46.0", | ||
| "unfetch": "4.2.0", | "unfetch": "4.2.0", | ||
| "vitest": "3.2.7", | |||
| "wait-port": "0.2.2", | "wait-port": "0.2.2", | ||
| "webpack": "5.98.0", | "webpack": "5.98.0", | ||
| "webpack-bundle-analyzer": "4.7.0", | "webpack-bundle-analyzer": "4.7.0", | ||
| ... | ... |
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment