MCPcopy
hub / github.com/continuedev/continue / buildConfigTsWithNodeModule

Function buildConfigTsWithNodeModule

core/config/load.ts:740–752  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

738}
739
740async 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
754function readConfigJs(): string | undefined {
755 const configJsPath = getConfigJsPath();

Callers 1

tryBuildConfigTsFunction · 0.85

Calls 2

getConfigTsPathFunction · 0.90
getConfigJsPathFunction · 0.90

Tested by

no test coverage detected