Skip to content

Question: Why define both main and exports in package.json of types-versions-wildcards #9

@mrrajamanickam-coveo

Description

@mrrajamanickam-coveo

https://github.com/andrewbranch/example-subpath-exports-ts-compat/blob/main/examples/node_modules/types-versions-wildcards/package.json has both main and exports defined. But the solution works only for Node >= 12. Wouldn't it make sense to remove main then to keep it simpler and avoid any confusion?

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