-
-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
Description
Reproduction link or steps
https://github.com/sakgoyal/case-anything/tree/tsdown
- command run:
tsdown --dts --sourcemap --minify --unbundle
- check the
index.d.ts
file - check the
index.js
file
What is expected?
// index.d.ts
export { adaCase, /** ... */ upperCase } from "./core.js";
//index.js
export {adaCase, /** ... */ upperCase} from "./core.js";
What is actually happening?
// index.d.ts
import { adaCase, /** ... */ upperCase } from "./core.js";
export { adaCase, /** ... */ upperCase };
//index.js
import{adaCase as e,/** ... */ upperCase as m} from"./core.js";
export{e as adaCase,/** ... */ m as upperCase};
The d.ts
file could be shorter to make it more "optimized"
Any additional comments?
Not really sure what to title the bug.