Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/heavy-pillows-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@module-federation/dts-plugin': patch
---

fix: double quote the temp tsconfig path to compatible with Windows.
2 changes: 1 addition & 1 deletion packages/dts-plugin/src/core/lib/typeScriptCompiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export const compileTs = async (
});
const execPromise = util.promisify(exec);
const pmExecutable = resolvePackageManagerExecutable();
const cmd = `${pmExecutable} ${remoteOptions.compilerInstance} --project '${tempTsConfigJsonPath}'`;
const cmd = `${pmExecutable} ${remoteOptions.compilerInstance} --project "${tempTsConfigJsonPath}"`;
try {
await execPromise(cmd, {
cwd:
Expand Down