Skip to content

Versions after 3.0.4 are breaking on projects without node module resolution #807

Closed
@hellypi

Description

@hellypi

My project has no node module resolution support so we are limtied to only UMD modules. We use this library and had to copy html-react-parser/dist/html-react-parser.js to our Libraries folder. Unfortunately, after the most recent changes after 3.0.4, we have an error when trying to load the library:
exports is not defined Evaluating https://******/POS/Extensions/******/Libraries/html-react-parser.js and we think the error is at line 13 where it has exports["default"] = {};
Is it possible for you to include a UMD version of this library in future releases? Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions