Skip to content

fix: Windows path bug in create-federation-tsconfig#79

Merged
Aukevanoost merged 1 commit into
mainfrom
issues/78
Jul 3, 2026
Merged

fix: Windows path bug in create-federation-tsconfig#79
Aukevanoost merged 1 commit into
mainfrom
issues/78

Conversation

@Aukevanoost

Copy link
Copy Markdown
Contributor

Closes #78

This pull request improves the handling of file path separators in the updateFederationTsConfig utility to ensure cross-platform compatibility, particularly for Windows environments. It also adds a new test to verify this behavior.

Cross-platform path normalization:

  • src/tools/esbuild/create-federation-tsconfig.ts: Fixed the path normalization logic to replace single backslashes (This pull request improves the handling of file path separators in the updateFederationTsConfig` utility to ensure cross-platform compatibility, particularly for Windows environments. It also adds a new test to verify this behavior.

Cross-platform path normalization:

) with forward slashes (/) when generating relative paths for the include field, ensuring compatibility across different operating systems.

Testing improvements:

@Aukevanoost Aukevanoost merged commit 1833bd0 into main Jul 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

updateFederationTsConfig writes malformed include paths in tsconfig.app.json on Windows

1 participant