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
We are currently distributing this packages as CommonJS files (compiled by Babel). Since we dropped support for Node.js v12 in #20, Node.js v14 and later support native ES Modules and we don't need to distribute CommonJS or use Babel.
Update package.json to add a "type": "module".
Convert import statements from file-extension-less references (supported by Node.js' CommonJS conventions) to fully-specified filename references supported by ES Modules.
Remove Babel.
Update our main entry to point at lib/index.js.
Add exports in our package.json to remove the lib part of the path.
We are currently distributing this packages as CommonJS files (compiled by Babel). Since we dropped support for Node.js v12 in #20, Node.js v14 and later support native ES Modules and we don't need to distribute CommonJS or use Babel.
"type": "module"
.main
entry to point atlib/index.js
.exports
in ourpackage.json
to remove thelib
part of the path.Follow-ups:
The text was updated successfully, but these errors were encountered: