xchainjs-lib
xchainjs-lib copied to clipboard
use "exports" field in package.json
https://nodejs.org/api/packages.html#exports
Without this field, Node.js import logic believes it's just a CJS package - node doesn't recognize the old non-standard "module" field (while transpilers like webpack do).