diff --git a/src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.JSModules.targets b/src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.JSModules.targets
index 99a291988b32..cd8464387c51 100644
--- a/src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.JSModules.targets
+++ b/src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.JSModules.targets
@@ -36,10 +36,14 @@ Copyright (c) .NET Foundation. All rights reserved.
$(ResolveCoreStaticWebAssetsDependsOn);
- ResolveJSModuleStaticWebAssets;
ResolveJsInitializerModuleStaticWebAssets;
+
+ $(ResolveCoreStaticWebAssetsDependsOn);
+ ResolveJSModuleStaticWebAssets;
+
+
@@ -229,7 +233,7 @@ Copyright (c) .NET Foundation. All rights reserved.
>
-
+
-
+