jiti
jiti copied to clipboard
jiti v2 roadmap
Jiti was created almost 3 years ago with the aim of bringing stable, compact and fast ESM (and later Typescript) support to all JavaScript runtimes.
Skipping years ahead, most of the recent Node.js versions has built-in ESM support and new runtimes (such as Deno and Bun), ship with native typescript even!
Jiti, today has an enormous 32M monthly downloads (❤️) nowadays (mainly Nuxt and Tailwind traffic i guess) and making breaking changes can affect the ecosystem.
My plan for v2 is to include more risky changes in it but also avoid API-breaking changes for Jiti v2 as much as possible to make migration smooth.
### Tasks
- [ ] https://github.com/unjs/jiti/issues/171
- [ ] Add `exports` field
- [ ] https://github.com/unjs/jiti/pull/158
- [ ] https://github.com/unjs/jiti/issues/32
- [ ] Enable SSMResolve by default
- [ ] Leverage `import.meta.resolve` when available
Would be amazing if inheriting tsconfig
's aliases support could be added, like tsx (esno)