Skip to content

The ESM build is broken #13

@bartadaniel

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.

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