From 729d3800d6f69db100224abf29751afe1d6bbf34 Mon Sep 17 00:00:00 2001 From: CC-Bell Date: Fri, 19 Sep 2025 09:25:09 -0400 Subject: [PATCH] Fix spaces in path for TypeScript compilation --- packages/dts-plugin/src/core/lib/typeScriptCompiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dts-plugin/src/core/lib/typeScriptCompiler.ts b/packages/dts-plugin/src/core/lib/typeScriptCompiler.ts index 72c45067e76..5678180b8b5 100644 --- a/packages/dts-plugin/src/core/lib/typeScriptCompiler.ts +++ b/packages/dts-plugin/src/core/lib/typeScriptCompiler.ts @@ -186,7 +186,7 @@ export const compileTs = async ( : undefined, }); const execPromise = util.promisify(exec); - const cmd = `npx ${remoteOptions.compilerInstance} --project ${tempTsConfigJsonPath}`; + const cmd = `npx ${remoteOptions.compilerInstance} --project '${tempTsConfigJsonPath}'`; try { await execPromise(cmd, { cwd: