Skip to content

Rolldown banner not work for multiple dts output #198

@neko-para

Description

@neko-para

Reproduction link or steps

https://stackblitz.com/edit/github-iocgjp9z?file=tsdown.config.ts

Describe the bug

Add two source A and B as entry; let A exports types from B; Add banner option; The banner only apply to A.dts, A.js, B.js, but not B.dts


Remarks

I'd like to use the banner to add triple slash references. The banner option from rolldown works fine if there's only one output.

Refs

#5

#174

The commit that remove the banner option from the plugin, referred in #144. 5640374

System Info

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Compensating engineering work will speed up resolution and support the project

  • I'm willing to offer $16 for financial support

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