A custom resource-hint <link> for output.html.resourceHints. Exactly one of href / chunk / entry names the target.
stringThe as attribute (script, style, font, …); defaults to script for chunk/entry references.
stringName of a chunk to hint; its emitted URL is resolved automatically.
boolean | "use-credentials" | "anonymous"The CORS mode; true maps to anonymous.
stringName of an entrypoint to hint; expands to one hint per initial chunk.
"auto" | "high" | "low"The fetchpriority attribute. Emitted on preload / modulepreload and on prefetch (the spec now permits it there).
stringA literal URL used verbatim (external resource, preconnect origin, or an already-hashed asset).
booleanSubresource Integrity for a chunk/entry reference. Follows output.html.integrity by default; set false to opt this hint out.
stringThe media attribute.
"preload" | "prefetch" | "modulepreload" | "preconnect" | "dns-prefetch"The rel of the resource hint.
stringThe type attribute (MIME type).