()
| 738 | } |
| 739 | |
| 740 | async function buildConfigTsWithNodeModule() { |
| 741 | const { build } = await import("esbuild"); |
| 742 | |
| 743 | await build({ |
| 744 | entryPoints: [getConfigTsPath()], |
| 745 | bundle: true, |
| 746 | platform: "node", |
| 747 | format: "cjs", |
| 748 | outfile: getConfigJsPath(), |
| 749 | external: ["fetch", "fs", "path", "os", "child_process"], |
| 750 | sourcemap: true, |
| 751 | }); |
| 752 | } |
| 753 | |
| 754 | function readConfigJs(): string | undefined { |
| 755 | const configJsPath = getConfigJsPath(); |
no test coverage detected