Skip to content

fix(nx-infra-plugin): normalize path separators in build-typescript executor on Windows#32653

Merged
chaosmirage merged 1 commit into
26_1from
fix/transpile
Feb 20, 2026
Merged

fix(nx-infra-plugin): normalize path separators in build-typescript executor on Windows#32653
chaosmirage merged 1 commit into
26_1from
fix/transpile

Conversation

@chaosmirage
Copy link
Copy Markdown
Contributor

@chaosmirage chaosmirage commented Feb 20, 2026

No description provided.

@chaosmirage chaosmirage requested a review from a team February 20, 2026 09:28
@chaosmirage chaosmirage self-assigned this Feb 20, 2026
Copilot AI review requested due to automatic review settings February 20, 2026 09:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes Windows-specific path separator mismatches in the build-typescript Nx executor so path-alias rewriting works reliably across platforms.

Changes:

  • Introduces a helper to normalize path separators on Windows before rewriting emitted file paths for tsc-alias.
  • Switches alias-resolution logic to use the new helper instead of a direct string.replace.

Comment thread packages/nx-infra-plugin/src/executors/build-typescript/executor.ts
Comment thread packages/nx-infra-plugin/src/executors/build-typescript/executor.ts
Comment thread packages/nx-infra-plugin/src/executors/build-typescript/executor.ts
@chaosmirage chaosmirage merged commit 03e8239 into 26_1 Feb 20, 2026
100 checks passed
@chaosmirage chaosmirage deleted the fix/transpile branch February 20, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants