Disable SIMD and remove fallback UI logic
Disabled WebAssembly SIMD support by adding `<WasmEnableSIMD>false</WasmEnableSIMD>` to the project file for compatibility or performance reasons. Removed the fallback UI and associated JavaScript logic from `App.razor`, including error handling for WebAssembly startup failures and the fallback message display. Simplified the Blazor startup script by removing error handling and fallback logic, leaving only the basic `window.Blazor.start()` call.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
|
||||
<StaticWebAssetProjectMode>Default</StaticWebAssetProjectMode>
|
||||
<WasmBuildNative>false</WasmBuildNative>
|
||||
<WasmEnableSIMD>false</WasmEnableSIMD>
|
||||
<InvariantGlobalization>false</InvariantGlobalization>
|
||||
<BlazorWebAssemblyLoadAllGlobalizationData>true</BlazorWebAssemblyLoadAllGlobalizationData>
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user