Skip to content

rdf-canonize throws SyntaxError in IE due to untranspiled sources for the browser #22

Closed
@AlexeyMz

Description

@AlexeyMz

browser property in package.json has the following value:

...
"./index.js": "./dist/index.js",

Which causes untranspiled library sources (with async-functions and class declarations) to be included when rdf-canonize is used as a dependency, e.g. when importing jsonld.

This was discovered here: digitalbazaar/jsonld.js#319

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions