Closed ocavue closed 7 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
tsup | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 19, 2023 4:09pm |
Open the branch in Web Editor • VS Code • Insiders
Open Preview
:tada: This PR is included in version 8.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This PR fixes a bug when using the
--experimental-dts
.Let's say we have the following file structure:
In this example,
entry1.ts
andentry2.ts
are public entry files. In the generatedentry1.d.ts
, it should only containdeclare1
, andentry2.d.ts
should only containdeclare2
. However, the generatedentry1.d.ts
andentry2.d.ts
incorrectly contain bothdeclare1
anddeclare2
.This PR fixes this bug and adds a test case.