Unable to disable GZip compression while keeping Brotli compression #46320
Labels
Area-AspNetCore
RazorSDK, BlazorWebAssemblySDK, dotnet-watch
untriaged
Request triage from a team member
The issue
In my environment, I don't need GZip compression, Brotli compression is enough.
I wanted to keep only Brotli compression because it will reduce my compilation time, the disk space of publications, and it's good for the planet...
I've changed my csproj file with :
But ".gz" files are still created
The source of the problem
sdk/src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.Compression.targets
Line 165 in 7a7f0f9
The solution
Replace the previous code line by :
The text was updated successfully, but these errors were encountered: