I'm working on a project that bundles multiple libraries from the same package, but dts currently uses main and module exclusively for determining where to output files. This PR adds the ability to parse subpath exports.
@aleclarson this is a better (and actually working!) implementation of the PR I opened and quickly closed earlier. The changes to demo aren't pretty, but I couldn't think of a better way to test that this works.
I'm working on a project that bundles multiple libraries from the same package, but dts currently uses
main
andmodule
exclusively for determining where to output files. This PR adds the ability to parse subpath exports.