[frontend] Add AOT build option

This commit is contained in:
Laura Hausmann 2024-04-01 02:52:54 +02:00
parent e9e45d525d
commit d98d222901
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -7,6 +7,10 @@
<PublishTrimmed>true</PublishTrimmed> <PublishTrimmed>true</PublishTrimmed>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(EnableAOT)' == 'true'">
<RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.3" /> <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.3" />
</ItemGroup> </ItemGroup>