Skip to content

Commit 5d9f756

Browse files
authored
[browser] Ensure compression targets run after preloading (dotnet#114953)
1 parent 19a02d5 commit 5d9f756

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/Microsoft.NET.Sdk.WebAssembly.Browser.targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,15 @@ Copyright (c) .NET Foundation. All rights reserved.
107107
ResolveWasmOutputs;
108108
_GenerateBuildWasmBootJson;
109109
_AddWasmStaticWebAssets;
110+
_AddWasmPreloadBuildProperties;
110111
</ResolveCompressedFilesDependsOn>
111112
<ResolveCompressedFilesForPublishDependsOn Condition="'$(WasmBuildingForNestedPublish)' != 'true'">
112113
$(ResolveCompressedFilesForPublishDependsOn);
113114
ProcessPublishFilesForWasm;
114115
ComputeWasmExtensions;
115116
GeneratePublishWasmBootJson;
116117
_AddPublishWasmBootJsonToStaticWebAssets;
118+
_AddWasmPreloadPublishProperties;
117119
</ResolveCompressedFilesForPublishDependsOn>
118120
<CompressFilesForPublishDependsOn Condition="'$(WasmBuildingForNestedPublish)' != 'true'">
119121
$(CompressFilesForPublishDependsOn);

0 commit comments

Comments
 (0)