For legacy reasons, I'm not sure we can add a new tag to the head? Doing so you end up with a dom that looks like this (based on your example in the explainer):

And you end up with the script being displayed in the page, also... which kinda sucks.
Maybe you want a link rel="module" instead and keep using <script defer> for inline modules?
For legacy reasons, I'm not sure we can add a new tag to the
head? Doing so you end up with a dom that looks like this (based on your example in the explainer):And you end up with the script being displayed in the page, also... which kinda sucks.
Maybe you want a
link rel="module"instead and keep using<script defer>for inline modules?