jiti icon indicating copy to clipboard operation
jiti copied to clipboard

jiti v2 roadmap

Open pi0 opened this issue 9 months ago • 1 comments

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

pi0 avatar Oct 02 '23 11:10 pi0

Would be amazing if inheriting tsconfig's aliases support could be added, like tsx (esno)

NamesMT avatar Nov 23 '23 07:11 NamesMT