-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[browser] Unify boot config schema and output layout #86255
Conversation
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsUnify scheme between
|
…Schema # Conflicts: # src/mono/wasm/runtime/loader/blazor/_Integration.ts
# Conflicts: # src/mono/sample/wasm/browser-threads-minimal/main.js # src/tasks/WasmAppBuilder/WasmAppBuilder.cs
@ilonatommy can you please check the icu bits in |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
I tried to verify this with a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ICU related part looks good
@radical dotnet/performance is missing Do you have more feedback? |
This is handled for CI, and the docs for manual running need to be updated. |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
The fixes will take a little longer. They are blocked by other things, for example dotnet/BenchmarkDotNet#2346 . |
@maraf I've pushed a commit to add The reason the break shows up in this PR, and not on main is: - File.Copy(Path.Combine(AppContext.BaseDirectory,
- options.TargetFramework == "net8.0" ? "test-main.js" : "data/test-main-7.0.js"),
- Path.Combine(_projectDir, "test-main.js"));
+ File.Copy(
+ Path.Combine(
+ AppContext.BaseDirectory,
+ string.IsNullOrEmpty(options.TargetFramework) || options.TargetFramework == "net8.0"
+ ? "test-main.js"
+ : "data/test-main-7.0.js"
+ ),
+ Path.Combine(_projectDir, "test-main.js")
+ ); In the In my upcoming PRs I will be moving most of the WBT tests away from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great job 👍
Thank you for tracking it down! |
WasmAppBuilder
to produce the same boot config schema asGenerateWasmBootJson
_framework
folder.<WasmRuntimeAssetsLocation>
property. The empty value is overriden to default_framework
, but./
can be used to flatten the output structure.AppBundle
vswwwrooot
folder name.JSHost.ImportAsync
now requires the same relative paths as in blazor (./module.js
=>../module.js
)Contributes to #70762