JSInitializer.importInitializersAsync doesn't respect initializerArguments
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
"[JSInitializer.importInitializersAsync](https://github.com/dotnet/aspnetcore/blob/231cc287ef848dfc90dab9b3a1eeb7bdbf243d57/src/Components/Web.JS/src/JSInitializers/JSInitializers.ts)" always loads relative to "document.baseURI" and ignores "initializerArguments".
### Expected Behavior
"JSInitializer.importInitializersAsync" uses "initializerArguments.loadBootResource", same as in "Blazor.start", and uses "document.baseURI" only as a fallback.
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### .NET Version
7.0.100-rc.2.22477.23
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.