Skip to content

Unbundle mode combined with rolldown.preserveModulesRoot #327

Closed as not planned
Closed as not planned

Description

@jevin98

Clear and concise description of the problem

I see that rolldown already supports preserveModulesRoot configuration. Should tsdown also add a configuration?

Or is it set directly through outputOptions?

Suggested solution

Alternative

No response

Additional context

No response

Validations

Activity

  1. added theissue type on Jun 17, 2025
  2. added
    enhancement
    on Jun 17, 2025
  3. changed the title [-]Support `rolldown.preserveModulesRoot`[/-] [+]`Unbundle` mode combined with `rolldown.preserveModulesRoot`[/+] on Jun 17, 2025
  4. sxzz commented on Jun 17, 2025

    @sxzz
    Member

    tsdown will automatically set preserveModulesRoot. If you wish to customize this setting, use outputOptions.

  5. locked and limited conversation to collaborators on Feb 11, 2026
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

    enhancement

    Fields

    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