unjs/jiti

jiti v2 roadmap

pi0 opened this issue · 3 comments

pi0 commented

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

Preview Give feedback

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

Hi @pi0, would bundling this into esm be enough to make it work in ESM envs? I forked the project and semi created esm/cjs bundling. Would this be something you guys would be interested in?

pi0 commented

Almost there! (feebacks welcome from nightly and beta releases!)