You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Define a map of module formats to import assertion types (the value of
23
+
* `type` in `assert { type: 'json' }`).
24
+
* @type {Map<string, string>}
24
25
*/
25
26
constformatTypeMap={
26
27
'__proto__': null,
27
28
'builtin': kImplicitAssertType,
28
29
'commonjs': kImplicitAssertType,
29
30
'json': 'json',
30
31
'module': kImplicitAssertType,
31
-
'wasm': kImplicitAssertType,// Should probably be 'webassembly' per https://github.com/tc39/proposal-import-assertions
32
+
'wasm': kImplicitAssertType,// It's unclear whether the HTML spec will require an assertion type or not for Wasm; see https://github.com/WebAssembly/esm-integration/issues/42
0 commit comments