Observe \wwwroot\_framework (the uncompressed file is not trimmed, the compressed ones are)
6 . Try to run the published project. You will get:
Failed to find a valid digest in the 'integrity' attribute for resource 'https://.../_framework/Blazicons.MaterialDesignIcons.dll' with computed SHA-256 integrity 'gMXbZ3OfWdujY73B/l1KFNoubyP8nqgEYJ/OZjVnvaM='. The resource has been blocked.
If you download the file directly, you will get the compressed one.
Remove 4. from csproj.
Republish and observe folder (all are trimmed coherently):
My actual scenario involves this library, but looks not to be related. Still, I have examples for this, hence I am using it as a reference.
Steps to reproduce:
\wwwroot\_framework
(the uncompressed file is not trimmed, the compressed ones are)dotnet --info