unjs / jiti

Runtime Typescript and ESM support for Node.js
MIT License
1.49k stars 52 forks source link

feat: allow `try` and other resolve options for `import`/`esmResolve` #268

Closed pi0 closed 6 days ago

pi0 commented 6 days ago

Allow custom resolve options to be passed + common usecase of try import (if module exists)