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
{{ message }}
Repository navigation
Commit 442ad8d
Browse filesBrowse the repository at this point in the historyBrowse files
* 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