Skip to content

Commit 2612061

Browse files
authored
Merge pull request #192 from davidwengier/MakeBlazorFaster
2 parents 1b7067b + 558bb7a commit 2612061

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
run: dotnet workload install wasm-tools
9393

9494
- name: Publish app
95-
run: dotnet publish src/BlazingTrains/BlazingTrains.csproj -c Release
95+
run: dotnet publish src/BlazingTrains/BlazingTrains.csproj -c Release -p:PublishIISAssets=false
9696

9797
- name: GitHub Pages
9898
if: success()

src/BlazingTrains/BlazingTrains.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
<BlazorEnableTimeZoneSupport>false</BlazorEnableTimeZoneSupport>
1010
<BlazorWebAssemblyPreserveCollationData>false</BlazorWebAssemblyPreserveCollationData>
11+
<InvariantGlobalization>true</InvariantGlobalization>
12+
<PublishTrimmed>true</PublishTrimmed>
13+
<RunAOTCompilation>true</RunAOTCompilation>
1114
</PropertyGroup>
1215

1316
<!-- In debug, make builds faster by reducing optimizations -->

0 commit comments

Comments
 (0)