Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[browser] Use regex to match boot config placeholder #114897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 23, 2025

Conversation

maraf
Copy link
Member

@maraf maraf commented Apr 22, 2025

Typescript debug build generates an extra space in the boot config placeholder.
This PR relaxes the strictness regarding spaces in the boot config placeholder.

Relates to dotnet/aspnetcore#58875

@maraf maraf added arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm labels Apr 22, 2025
@maraf maraf added this to the 10.0.0 milestone Apr 22, 2025
@maraf maraf self-assigned this Apr 22, 2025
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

@Copilot 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

This PR addresses an issue where the TypeScript debug build generates an extra space in the boot config placeholder by relaxing the strict string matching to a regex match.

  • Introduces a regex to match boot config placeholders allowing for extra space variations.
  • Replaces the direct string replace with a regex-based replacement for improved flexibility.

@maraf maraf merged commit 46ec9de into dotnet:main Apr 23, 2025
29 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants