let node_path = require("node:path");
let esbuild = require("esbuild");
let node_url = require("node:url");

//#region ../react-intlayer/dist/esm/@intlayer/config/dist/esm/loadExternalFile/bundleFile.mjs
const getLoader = (extension) => {
	switch (extension) {
		case ".js": return "js";
		case ".jsx": return "jsx";
		case ".mjs": return "js";
		case ".ts": return "ts";
		case ".tsx": return "tsx";
		case ".cjs": return "js";
		case ".json": return "json";
		case ".md": return "text";
		case ".mdx": return "text";
		default: return "js";
	}
};

//#endregion
exports.getLoader = getLoader;
//# sourceMappingURL=bundleFile.cjs.map