Skip to content

Commit fb0233d

Browse files
committed
disable wasm simd in non dev env to prevent wasm native build and accelerate build performance (#11516)
1 parent e18d8df commit fb0233d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<BlazorWebAssemblyLoadAllGlobalizationData Condition="'$(InvariantGlobalization)' == 'false'">true</BlazorWebAssemblyLoadAllGlobalizationData>
1010
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
1111
<StaticWebAssetProjectMode>Default</StaticWebAssetProjectMode>
12+
<WasmEnableSIMD Condition="'$(Environment)' != 'Development'">true</WasmEnableSIMD>
1213
<!--/+:msbuild-conditional:noEmit -->
13-
<WasmEnableSIMD>false</WasmEnableSIMD>
1414
<WasmStripILAfterAOT Condition=" '$(offlineDb)' == 'false'">true</WasmStripILAfterAOT>
1515
<WasmBuildNative Condition=" '$(offlineDb)' == 'true' OR '$(offlineDb)' == ''">true</WasmBuildNative>
1616
<!--/-:msbuild-conditional:noEmit -->

0 commit comments

Comments
 (0)