const require_chunk = require('../chunk-CUT6urMc.cjs');
const node_fs = require_chunk.__toESM(require("node:fs"));
const node_path = require_chunk.__toESM(require("node:path"));
const node_module = require_chunk.__toESM(require("node:module"));
const node_url = require_chunk.__toESM(require("node:url"));

//#region src/deploy/sniffer-loader.ts
const __filename$1 = (0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href);
const __dirname$1 = (0, node_path.dirname)(__filename$1);
const mjsPath = (0, node_path.join)(__dirname$1, "sniffer-hooks.mjs");
const tsPath = (0, node_path.join)(__dirname$1, "sniffer-hooks.ts");
const hooksPath = (0, node_fs.existsSync)(mjsPath) ? mjsPath : tsPath;
(0, node_module.register)((0, node_url.pathToFileURL)(hooksPath).href, require("url").pathToFileURL(__filename).href);

//#endregion
//# sourceMappingURL=sniffer-loader.cjs.map