Skip to content

module: unflag import assertions

Import assertion support has landed behind a flag in V8 for quite some time, this PR enables it by default in Node.js. This PR allows folks to write JS code that uses import assertions syntax. Only type: "json" is supported for now, although JSON modules support in Node.js is still experimental and behind --experimental-json-modules CLI flag.

Refs: https://github.com/nodejs/node/pull/37375#issuecomment-904732522 Refs: https://tc39.es/proposal-import-assertions

Merge request reports

Loading