Skip to content

Re-export types from monorepo internal dependencies #302

@gxxcastillo

Description

@gxxcastillo

Description

I have a packageA in a monorepo and it depends on packageB and packageC, packageC depends on packageD.

When I run vite build on packageA using the dts plugin and { rollupTypes: true }, I don't see the types from packageB, packageC, and packageD being exported from packageA.

Suggested solution

Have a option that allows for types from dependencies to be included in the generated *.d.ts files

Alternative

No response

Additional context

No response

Validations

  • Read the FAQ.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions