@@ -98,13 +98,19 @@ Copyright (c) .NET Foundation. All rights reserved.
98
98
to identify them and correctly clasify them. Modules from other projects or packages will already be correctly tagged when we
99
99
retrieve them.
100
100
-->
101
+
102
+ <PropertyGroup >
103
+ <_ResolveJsInitializerModuleStaticWebAssetsCachePath >$(_StaticWebAssetsManifestBase)rjimswa.dswa.cache.json</_ResolveJsInitializerModuleStaticWebAssetsCachePath >
104
+ </PropertyGroup >
105
+
101
106
<DefineStaticWebAssets Condition =" @(_JSModuleCandidates) != ''"
102
107
CandidateAssets =" @(_JSModuleCandidates)"
103
108
AssetTraitName =" JSModule"
104
109
AssetTraitValue =" JSLibraryModule"
105
110
RelativePathFilter =" **/$(PackageId).lib.module.js"
106
111
PropertyOverrides =" AssetTraitName;AssetTraitValue"
107
112
AssetMergeSource =" $(StaticWebAssetMergeTarget)"
113
+ CacheManifestPath =" $(_ResolveJsInitializerModuleStaticWebAssetsCachePath)"
108
114
>
109
115
<Output TaskParameter =" Assets" ItemName =" _JSModuleStaticWebAsset" />
110
116
</DefineStaticWebAssets >
@@ -405,6 +411,13 @@ Copyright (c) .NET Foundation. All rights reserved.
405
411
<_JSFileModuleCandidates Include =" @(_JSFileModuleNoneCandidates)" />
406
412
</ItemGroup >
407
413
414
+ <PropertyGroup >
415
+ <_ResolveJSModuleStaticWebAssetsRazorCachePath >$(_StaticWebAssetsManifestBase)rjsmrazor.dswa.cache.json</_ResolveJSModuleStaticWebAssetsRazorCachePath >
416
+ </PropertyGroup >
417
+ <PropertyGroup >
418
+ <_ResolveJSModuleStaticWebAssetsCshtmlCachePath >$(_StaticWebAssetsManifestBase)rjsmcshtml.dswa.cache.json</_ResolveJSModuleStaticWebAssetsCshtmlCachePath >
419
+ </PropertyGroup >
420
+
408
421
<!-- Find JS module files -->
409
422
<!-- **/*.razor.js -->
410
423
<DefineStaticWebAssets
@@ -414,7 +427,8 @@ Copyright (c) .NET Foundation. All rights reserved.
414
427
ContentRoot =" $(MSBuildProjectDirectory)"
415
428
SourceType =" Discovered"
416
429
BasePath =" $(StaticWebAssetBasePath)"
417
- AssetMergeSource =" $(StaticWebAssetMergeTarget)" >
430
+ AssetMergeSource =" $(StaticWebAssetMergeTarget)"
431
+ CacheManifestPath =" $(_ResolveJSModuleStaticWebAssetsRazorCachePath)" >
418
432
<Output TaskParameter =" Assets" ItemName =" _ComponentJSModule" />
419
433
</DefineStaticWebAssets >
420
434
@@ -426,7 +440,8 @@ Copyright (c) .NET Foundation. All rights reserved.
426
440
ContentRoot =" $(MSBuildProjectDirectory)"
427
441
SourceType =" Discovered"
428
442
BasePath =" $(StaticWebAssetBasePath)"
429
- AssetMergeSource =" $(StaticWebAssetMergeTarget)" >
443
+ AssetMergeSource =" $(StaticWebAssetMergeTarget)"
444
+ CacheManifestPath =" $(_ResolveJSModuleStaticWebAssetsCshtmlCachePath)" >
430
445
<Output TaskParameter =" Assets" ItemName =" _MvcJSModule" />
431
446
</DefineStaticWebAssets >
432
447
0 commit comments