Skip to content

Commit

Permalink
more trimming (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
elringus authored Jan 1, 2024
1 parent 8c9e5f5 commit 3570b5e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/trimming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ To test and measure build size:

| .NET | Raw | Brotli |
|-------|-------|--------|
| 8.0.1 | 2,317 | 744 |
| 8.0.1 | 2,298 | 739 |
6 changes: 6 additions & 0 deletions src/cs/Bootsharp/Build/Bootsharp.targets
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<PropertyGroup>
<!-- https://learn.microsoft.com/en-us/aspnet/core/blazor/performance?#minimize-app-download-size -->
<!-- https://raw.githubusercontent.com/dotnet/runtime/main/docs/workflow/trimming/feature-switches.md -->
<!-- https://github.com/dotnet/runtime/issues/94805 -->
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>full</TrimMode>
<TrimmerRemoveSymbols>true</TrimmerRemoveSymbols>
Expand All @@ -38,6 +39,11 @@
<WasmEmitSourceMap>false</WasmEmitSourceMap>
<WasmNativeDebugSymbols>false</WasmNativeDebugSymbols>
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
<PredefinedCulturesOnly>true</PredefinedCulturesOnly>
<MetricsSupport>false</MetricsSupport>
<DisableDependencyInjectionDynamicEngine>true</DisableDependencyInjectionDynamicEngine>
<NullabilityInfoContextSupport>false</NullabilityInfoContextSupport>
<DynamicCodeSupport>false</DynamicCodeSupport>
</PropertyGroup>
</When>
</Choose>
Expand Down
2 changes: 1 addition & 1 deletion src/cs/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>0.1.0</Version>
<Version>0.1.1</Version>
<Authors>Elringus</Authors>
<PackageTags>javascript typescript ts js wasm node deno bun interop codegen</PackageTags>
<PackageProjectUrl>https://bootsharp.com</PackageProjectUrl>
Expand Down

0 comments on commit 3570b5e

Please sign in to comment.