-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
rolldown-plugin-dts will require a DTS resolver capable of resolving types from both dependencies and relative TS files, in order to inline and bundle types.
The resolver's behavior should match that of the ts.resolveModuleName API in TypeScript. For reference, see the unit tests here: https://github.com/sxzz/dts-resolver/blob/ce9a1d1ea34ccabca10a275144e34012b9879eda/tests/index.test.ts#L101-L123
Currently https://github.com/sxzz/dts-resolver is using Oxc Resolver to simulate this behavior and there are lots of edge cases, like
lishaduck and 8ctavio
Metadata
Metadata
Assignees
Labels
No labels