Closed
Description
https://medium.com/@nodejs/announcing-core-node-js-support-for-ecmascript-modules-c5d6dc29b663 says that Node 13.2.0 is the first version to understand in package.json "type":"module"
. This was the reason I switched to Node 13.
Now https://nodejs.org/docs/latest-v12.x/api/esm.html#esm_package_json_type_field says that v12 supports this "type":"module"
option.
Apparently this option is not valid for all Node v12 releases.
Please amend the documentation to state since which v12 and v13 releases this option is enabled, so that this information can be included in the package.json: "engines" field. Ideally also provide information how the engines field should look like.
Metadata
Metadata
Assignees
Labels
No labels