()
| 719 | } |
| 720 | |
| 721 | async function buildConfigTsWithBinary() { |
| 722 | const cmd = [ |
| 723 | escapeSpacesInPath(getEsbuildBinaryPath()), |
| 724 | escapeSpacesInPath(getConfigTsPath()), |
| 725 | "--bundle", |
| 726 | `--outfile=${escapeSpacesInPath(getConfigJsPath())}`, |
| 727 | "--platform=node", |
| 728 | "--format=cjs", |
| 729 | "--sourcemap", |
| 730 | "--external:fetch", |
| 731 | "--external:fs", |
| 732 | "--external:path", |
| 733 | "--external:os", |
| 734 | "--external:child_process", |
| 735 | ].join(" "); |
| 736 | |
| 737 | execSync(cmd); |
| 738 | } |
| 739 | |
| 740 | async function buildConfigTsWithNodeModule() { |
| 741 | const { build } = await import("esbuild"); |
no test coverage detected