UNPKG

@intlayer/config

Version:

Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.

34 lines (32 loc) 775 B
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const require_runtime = require('../_virtual/_rolldown/runtime.cjs'); let esbuild = require("esbuild"); //#region src/loadExternalFile/bundleJSFile.ts const commonBuildOptions = { bundle: true, format: "cjs", platform: "node", target: "es2019", sourcemap: false, logLevel: "silent", write: true, packages: "external", loader: { ".js": "js", ".jsx": "jsx", ".mjs": "js", ".ts": "ts", ".tsx": "tsx", ".cjs": "js", ".json": "json", ".md": "text", ".mdx": "text" } }; const bundleJSFile = async (buildOptions) => await (0, esbuild.build)({ ...commonBuildOptions, ...buildOptions }); //#endregion exports.bundleJSFile = bundleJSFile; //# sourceMappingURL=bundleJSFile.cjs.map