mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[GH-ISSUE #558] <link rel=preload> missing as attribute in RSC framework bundle #115
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jodaks on GitHub (Mar 16, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/558
Description
The framework bundle emits
<link rel=preload>tags without a validasattribute,causing a browser console error on every page load.
Error
[Error] must have a valid
asvaluewf (framework-BsFTGslG.js:9:17874)
he (index-DsvxdoIr.js:2:21280)
r (index-DsvxdoIr.js:2:23571)
Environment
Steps to Reproduce
vinext devor deploy and open the browser consoleExpected Behavior
Preload hints should include a valid
asattribute (e.g.as="script",as="style")per the HTML spec. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preload
Notes
Originates inside the minified framework bundle, not reproducible from application code.
Likely related to how RSC emits resource hints during streaming/hydration.