3 ms·
HTML, CSS, and JSON Modules are currently blocked by Import Conditions, which is going for stage 3 at the next TC39.
by spankalee 6y ago
HTML, CSS, and JSON Modules are currently blocked by Import Conditions, which is going for stage 3 at the next TC39.
- jhk4 6y agoTIL, that's awesome. I was under the impression they'd stalled out entirely.
- dmix 6y agoLink to proposals: https://github.com/tc39/proposal-import-conditions https://github.com/tc39/proposal-import-conditions https://github.com/w3c/webcomponents/blob/gh-pages/proposals/html-modules-proposal.md https://github.com/w3c/webcomponents/blob/gh-pages/proposals...
- sergeykish 6y agoWith type="module" and need to set ContentType they've invented new attribute and alias <script src="foo.wasm" type="module" iftype="webassembly"> but there is no need <script src="foo.wasm" type="application/wasm"> is not executed, so it can be used as is. And "if" keyword means make a request with ContentType: "/", discard if result ContentType does not match. Which is ... strange?