vite-dts icon indicating copy to clipboard operation
vite-dts copied to clipboard

enhancement: allow for dts paths to use exports field.

Open drewloomer opened this issue 3 years ago • 1 comments

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.

drewloomer avatar Mar 04 '22 01:03 drewloomer

Screen Shot 2022-03-03 at 8 40 55 PM @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.

drewloomer avatar Mar 04 '22 01:03 drewloomer