This commit is contained in:
2026-05-12 02:29:47 +02:00
parent bf304e17c9
commit ee054955b9
1358 changed files with 243486 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
function onError(err) {
throw err; /* ↓ Check stack trace ↓ */
}
module.exports = function jiti(filename, opts) {
const jiti = require("../dist/jiti");
opts = { onError, ...opts };
if (!opts.transform) {
opts.transform = require("../dist/babel");
}
return jiti(filename, opts);
};