We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello. The current implementation in Chrome does not support the <link rel=modulepreload> https://bugs.chromium.org/p/chromium/issues/detail?id=1274871
<link rel=modulepreload>
The specification says that you can specify the as attribute
as
Let destination be the current state of the as attribute (a destination), or "script" if it is in no state. https://html.spec.whatwg.org/multipage/links.html#link-type-modulepreload
But as not support and has not valid as value for type json module.
json
Perhaps it makes sense to add support for the type attribute?
type
<link rel="modulepreload" href="app.mjs"> - for ESM module <link rel="modulepreload" href="style.css" type="text/css"> - for assert: { type: 'css' } <link rel="modulepreload" href="data.json" type="application/json"> - for assert: { type: 'json' }
Thanks.
The text was updated successfully, but these errors were encountered:
Moved: whatwg/html#7388
Sorry, something went wrong.
No branches or pull requests
Hello.
The current implementation in Chrome does not support the
<link rel=modulepreload>
https://bugs.chromium.org/p/chromium/issues/detail?id=1274871
The specification says that you can specify the
as
attributeBut
as
not support and has not validas
value for typejson
module.Perhaps it makes sense to add support for the
type
attribute?Thanks.
The text was updated successfully, but these errors were encountered: