Skip to content

Please publish a ESM package #20

@Polve

Description

@Polve

I'm trying to develop an ember application importing bitcoinjs-lib that in turn imports this library (ecpair).

The problem is that the current release of WebPack 5 is unable to transpile ecpair with the following error:

ReferenceError: exports is not defined

and I was unable to find any way to fix the problem.

Is it possible to have a release supporting ESM packaging and "moduleResolution": "Bundler" ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions