Skip to content

Import maps cannot be used with HTTP Link rel=modulepreload  #9274

@allstarschh

Description

@allstarschh

When the modulepreload feature is served from HTTP Link header,
it will fetch a modulepreload module script graph, which will in turn disallow further import maps, that will make import maps won't be parsed at all, see Prepare the script element, step 32.

Latest HTML spec commit: d67f8f7

This will make import maps totally useless if the modulepreload is served from HTTP Link header.

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