Update documentation with overview and architecture

This commit is contained in:
rob
2026-01-05 03:44:38 -04:00
parent 5d2bea0b85
commit 32b77c3378
3873 changed files with 722247 additions and 6 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);
};