Skip to content

[Suggestion] commonJs to esnext #4

Description

@srswain2

Scenario:
When I try to import the library in a esnext based project, I get a compatibility issue like the below:
webpack/webpack#4039 (comment)

So, for this, I changed from module.exports = Timeline to export default Timeline; and everything works perfectly.
Is there any other work around for this apart from what I did? Please suggest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions