Uh oh!
There was an error while loading. Please reload this page.
[Wasm] Add support for baseUrl and mainScriptPath - #70375
Conversation
pavelsavara
commented
Jun 7, 2022
See also this #69441 |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
while we're changing this, it might make sense to have a convention for how to tell the runtime what its baseUrl is so it doesn't have to guess. i'm guessing uno could pipe that through
There was a problem hiding this comment.
The guessing should be removed - and blazor updated to provide a base URL (and possibly also the URL of the worker script - actually depending on how much stuff they mangle we might need some locate function where we can ask for normal names that we know and blazor can tell us what they mangled them to). the guessing was just a hack because I didn't want to coordinate a pair of aspnetcore and runtime PRs
(I don't mean this current PR should remove the guessing and wait until blazor is updated - that should be done separately)
This change allows for resources like the crypto worker or thread workers to be resolved properly when used in a generic context.
2f23d2d to
015a8ecComparepavelsavara
commented
Jun 9, 2022
guys, I don't have bandwidth to fully explore this space right now, but please make sure that you align it with NodeJS and that we have some consistent plan for the relative paths of configured resources. We have open discussion on the PR I mentioned above and also we have @radical 's host and maybe some new shape of the config. All that said, I think we should just add |
pavelsavara
commented
Aug 22, 2022
Crypto worker is gone now. So, I guess this PR is obsolete ? @jeromelaban |
jeromelaban
commented
Aug 22, 2022
@pavelsavara I guess it is! Thanks for the update. |
This change allows for resources like the crypto worker or thread workers to be resolved properly when used in a generic context.