The import of cardano-addresses/dist/cardano-addresses.esm.js succeedes, but as soon as I call the cardanoAddresses.inspectAddress(addr) function, I get the error ./cardano-addresses-jsapi.cjs.js: ES module loading failed!.
Any advice would be really appeciated!
Version
3.6.0 - Browser
Expectation
I should be able to import the module with a bundler like webpack.
The online demo shows how to import the cardano-addresses module served from a webserver root.
Actual Behaviour
Unfortunately I am not able to reproduce the sample in this stackblitz example.
The import of
cardano-addresses/dist/cardano-addresses.esm.js
succeedes, but as soon as I call thecardanoAddresses.inspectAddress(addr)
function, I get the error./cardano-addresses-jsapi.cjs.js: ES module loading failed!
. Any advice would be really appeciated!