Files
NapCatQQ/.pnpm-store/v3/files/15/57b79521069d54ddde226ccc90f1b10ccb82e9a1fb36f0043b7bd8a68cdbd19d91de685325fd2fd189a8876ab7c31f212d3c0f9782dc01b1edf0bb550abf4c
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

16 lines
305 B
Plaintext

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);
};