Skip to content

The ESM build is broken #13

Description

@bartadaniel

I assume this issue can belong to the ld-openapi repo too, opening it here in case in case others run into it. I can re-open there if needed.
When trying to import the ESM build of the library, I get the error

Failed to resolve entry for package "launchdarkly-api-typescript". 
The package may have incorrect main/module/exports specified in its package.json.

Link for reproduction here. This error should not happen.
Looking at the package.json of the library, it is referencing "module": "./dist/esm/index.js", but that file does not exist.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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