Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
commit: |
📦 Package Size📚 22 runtime dependencies (no change)
All tracked output (25)
Runtime dependencies (22)
Baseline: main_@_f08c676d___2026-11-25 · gzip is the comparison metric · changes below 16 B gzip are ignored |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
🟠 Approval needed · outside contributor Thanks for the pull request. Automated review and repair of Harlan adds the harlan-agent-review label to start them. Harlan Agent Kit automated status, not Harlan's · AI policy |
🔗 Linked issue
📚 Description
on Nuxt 5, a clean production build with a bundled registry script renders a preload and script tag for a file that isn't in the output.
this is because the bundled files are written to
.nuxt/cache/scriptsinbuild:done, and that directory is registered as a Nitro public asset dir.on Nuxt 4 the Nitro build itself runs in
build:donehook, which means the files are on disk in time, but in Nuxt 5 the Nitro build (and its public asset copy) happens inside the Vite build, before anybuild:donehook, so if it's a clean build, it will just copy an empty directory.this PR writes the rendered scripts straight into the Nitro public output from
nitro:build:public-assets, which Nuxt calls right after the public asset copy on both Nuxt 4 and 5.this probably should also be backported to 1.x