-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Milestone
Description
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
- [x] https://github.com/unjs/jiti/pull/240
- [x] https://github.com/unjs/jiti/pull/239
- [x] Add `exports` field
- [x] Enable ESMResolve by default
- [x] Leverage `import.meta.resolve` when available
- [ ] https://github.com/unjs/jiti/pull/158
- [ ] https://github.com/unjs/jiti/issues/32
brolnickij, chenjiahan, wusiquan, LoTwT, peterroe and 20 moreshinGangan and ZaneL1u
Metadata
Metadata
Assignees
Labels
No labels