Closed blakeembrey closed 3 years ago
Similar to https://github.com/digitalbazaar/jsonld.js/pull/429, I'm trying to bundle jsonld for browsers and run into issues resolving crypto. Using the correct file name fixes the issue for me.
jsonld
crypto
The browser spec is here: https://github.com/defunctzombie/package-browser-field-spec. It explicitly uses file names as the examples and this resolved the bundler issues I had.
Similar to https://github.com/digitalbazaar/jsonld.js/pull/429, I'm trying to bundle
jsonld
for browsers and run into issues resolvingcrypto
. Using the correct file name fixes the issue for me.The browser spec is here: https://github.com/defunctzombie/package-browser-field-spec. It explicitly uses file names as the examples and this resolved the bundler issues I had.