unjs / jiti

Runtime TypeScript and ESM support for Node.js
MIT License
1.77k stars 62 forks source link

support jiti.config file #34

Closed pi0 closed 3 weeks ago

pi0 commented 3 years ago

Context https://github.com/nuxt/nuxt.js/issues/9350

Another option is .jitirc since loading can be faster without depending on CJS require and ensures serialization for cacheKey is still possible.

We can additionally support JITI_OPTIONS environment variable for inlining.

dword-design commented 1 year ago

This would be great!

pi0 commented 3 weeks ago

As we are moving forward to fade-aways jiti in favor of runtime natives, customization makes less sense.