-
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] Minimal blazor.boot.json integration #84296
Conversation
Tagging subscribers to 'arch-wasm': @lewing Issue Details
|
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.
I would prefer to dissolve this new code into our folder structure and code style and drop blazor
folder.
import { BootJsonData } from "./BootConfig"; | ||
|
||
let testAnchor: HTMLAnchorElement; | ||
export function toAbsoluteUri(relativeUri: string): string { |
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.
This will fail in nodeJS
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.
Good catch, I haven't tried running it on console yet
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.
I keen to not have this experience (=Wasm SDK + boot.json) on node at the moment
} | ||
} | ||
|
||
function getICUResourceName(bootConfig: BootJsonData, culture: string | undefined): string { |
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.
We probably already have this code in icu.ts
I definitely agree. Please consider the current state as a WIP |
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 as work in progress, expecting further cleanup and unification in subsequent PRs
This reverts commit 3279ffa.
Failures are not related |
Updates wasmbrowser template to use Wasm SDK(next cycle, needs wasmapphost+wbt updates)WebAssemblyResourceLoader
from Blazor