Skip to content

Add "exports" section to package.json #254

@brandoncharnesky

Description

@brandoncharnesky

Add an "exports" section to the package.json to define the cjs/esm versions (https://nodejs.org/api/packages.html#conditional-exports). Some downstream tools (vitest: https://github.com./vitest-dev/vitest/discussions/4233) fail to recognize the current method we are using (defining "module" in the package.json file).

Unclear if there would be other downstream effects from adding in this "exports" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions