Skip to content

Commit

Permalink
Fix: incorrect the encode name of the Brotli compression encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakamoto committed Jan 23, 2025
1 parent e5b5db3 commit 6344878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/CustomTasks/_BS_FilterAndRebaseItems.targets
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ foreach (var appProj in this.ReferencedAppProjects)
// Exclude the compressed version of app-bundled scoped css files, such as "*.styles.css".
.Where(item => !(item.GetMetadata("AssetTraitName") == "Content-Encoding" && item.GetMetadata("AssetTraitValue") == "gzip" && item.GetMetadata("RelatedAsset")?.EndsWith(".styles.css") == true))
.Where(item => !(item.GetMetadata("AssetTraitName") == "Content-Encoding" && item.GetMetadata("AssetTraitValue") == "brotli" && item.GetMetadata("RelatedAsset")?.EndsWith(".styles.css") == true))
.Where(item => !(item.GetMetadata("AssetTraitName") == "Content-Encoding" && item.GetMetadata("AssetTraitValue") == "br" && item.GetMetadata("RelatedAsset")?.EndsWith(".styles.css") == true))
.ToArray();
Expand Down

0 comments on commit 6344878

Please sign in to comment.