Skip to content

Disable package.json exports generation #670

@lishaduck

Description

@lishaduck

Clear and concise description of the problem

As as a developer using tsdown, I'd like to not expose the details of my package.json to external consumers.

Suggested solution

Add an exports.manifest option (which defaults to true for compatibility).

Alternative

Expose the package.json.

Additional context

Would also be nice to let us shave off the module & types field; yes, some tools still don't support exports, but we should be trying to push the ecosystem forward.

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions