Skip to content

Commit

Permalink
feat: Enable XAML Trimming by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban authored Jan 25, 2023
1 parent 2c8f90e commit 1a998ff
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,22 @@

<!--
IL Linking is disabled in Debug configuration.
When building in Release, see https://platform.uno/docs/articles/features/using-il-linker-WebAssembly.html
When building in Release, see https://aka.platform.uno/wasm-il-linker
-->
<WasmShellILLinkerEnabled>false</WasmShellILLinkerEnabled>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<!-- XAML Resource trimming https://aka.platform.uno/xaml-trimming -->
<UnoXamlResourcesTrimming>true</UnoXamlResourcesTrimming>

<!-- Improve performance with AOT builds https://aka.platform.uno/wasm-aot -->
<!-- <WasmShellMonoRuntimeExecutionMode>InterpreterAndAOT</WasmShellMonoRuntimeExecutionMode> -->

<!-- Temporarily uncomment to generate an AOT profile https://aka.platform.uno/wasm-aot-profile -->
<!-- <WasmShellGenerateAOTProfile>true</WasmShellGenerateAOTProfile> -->
</PropertyGroup>

<ItemGroup>
<Content Include="Assets\SplashScreen.png" />
$if$($UseWebAssemblyManifestJson$ == True)
Expand Down

0 comments on commit 1a998ff

Please sign in to comment.