Skip to content

Support json/style as modulepreload destinations #10233

@noamr

Description

@noamr

What is the issue with the HTML Standard?

json/css modules are available in import, however the modulepreload spec only allows script-like destinations (see https://html.spec.whatwg.org/multipage/links.html#link-type-modulepreload:link-type-modulepreload-3).

Allowing json/style here would allow preloading them for the purpose of imports.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions