unjs/jiti

Avoid transpiling `require` in native ESM modules

pi0 opened this issue · 0 comments

pi0 commented

Changing require signature in ESM files should be avoided. We can pass isNativeModule to the transformer top avoid CommonJS transform. (Related: #65)