Skip to content

The package can't be imported in some Webpack configurations #2

@constgen

Description

@constgen

Instead of CommonJS/UMD the package exports ES Module. Which breaks building in some environments. For example, CodeSandbox:
изображение

You can check also in NodeJS env which should work and just export an object https://runkit.com/embed/ohc5odmbg4eq

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