Skip to content

Commit

Permalink
chore: Enable release profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban authored Jan 28, 2025
1 parent 2db3521 commit 99408a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Uno.Gallery/Uno.Gallery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,13 @@
<_WasmLinkStepArgs Include="@(_EmccLinkStepArgs)" />
</ItemGroup>
</Target>

<Target Name="AdjustStrip" BeforeTargets="_WasmCommonPrepareForWasmBuildNative">
<PropertyGroup>
<!-- Enable debug symbols for release mode to profiling -->
<WasmNativeStrip>false</WasmNativeStrip>
<WasmNativeDebugSymbols>true</WasmNativeDebugSymbols>
</PropertyGroup>
</Target>

</Project>

0 comments on commit 99408a9

Please sign in to comment.