-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
Description
Reproduction link or steps
https://github.com/SuperchupuDev/tsdown-repro/tree/dts-import
What is expected?
Useless imports not being in the .d.ts
file, just like .d.cts
What is actually happening?
They are preserved
Any additional comments?
I'm guessing it's probably caused by the fix for #273.
picomatch
sets "sideEffects": false
on its package.json
, so it's not right for tsdown
to detect it as a module that potentially produces side effects 🤔 but that's a separate issue