Skip to content

Commit

Permalink
Fix for vanilla wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
MackinnonBuck committed Sep 4, 2024
1 parent d1dd5df commit d0d4403
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ Copyright (c) .NET Foundation. All rights reserved.
ResolveJsInitializerModuleStaticWebAssets;
</ResolveCoreStaticWebAssetsDependsOn>

<ResolveJSModuleStaticWebAssetsDependsOn>
$(ResolveJSModuleStaticWebAssetsDependsOn);
ResolveProjectStaticWebAssets;
</ResolveJSModuleStaticWebAssetsDependsOn>

<ResolveJSModuleStaticWebAssetsDependsOn Condition="'$(UsingMicrosoftNETSdkRazor)' == 'true'">
$(ResolveJSModuleStaticWebAssetsDependsOn);
ResolveRazorComponentInputs;
ResolveRazorGenerateInputs;
</ResolveJSModuleStaticWebAssetsDependsOn>

</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -389,7 +400,7 @@ Copyright (c) .NET Foundation. All rights reserved.
</Target>

<!-- JS file modules -->
<Target Name="ResolveJSModuleStaticWebAssets" DependsOnTargets="ResolveProjectStaticWebAssets;ResolveRazorComponentInputs;ResolveRazorGenerateInputs">
<Target Name="ResolveJSModuleStaticWebAssets" DependsOnTargets="$(ResolveJSModuleStaticWebAssetsDependsOn)">

<ItemGroup>
<!-- To avoid situations where the content is defined twice, if the user defines the JS module explicitly as
Expand Down

0 comments on commit d0d4403

Please sign in to comment.