By default tsup bundles all imported modules but dependencies
and peerDependencies
in package.json
are always excluded.
I believe that optionalDependencies
should be also excluded by default, as they are essentially the dependencies
which are simply allowed to not exist, and the library author is supposed to import them dynamically and handle failed imports gracefully.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too