digitalbazaar / rdf-canonize

An implementation of the RDF Dataset Normalization Algorithm in JavaScript.
Other
22 stars 13 forks source link

Update `browser` entry to filename #40

Closed blakeembrey closed 3 years ago

blakeembrey commented 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.

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.