Skip to content

Commit 45300ec

Browse files
javiercnTanayParikh
authored andcommitted
[Blazor] Allow customizing the static web assets base manifest paths if defined by the environment (#27102)
(cherry picked from commit bcb1cd2)
1 parent 5aed47b commit 45300ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RazorSdk/Targets/Microsoft.NET.Sdk.Razor.StaticWebAssets.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Copyright (c) .NET Foundation. All rights reserved.
296296

297297
<Target Name="ResolveStaticWebAssetsConfiguration">
298298
<PropertyGroup>
299-
<_StaticWebAssetsManifestBase>$(IntermediateOutputPath)</_StaticWebAssetsManifestBase>
299+
<_StaticWebAssetsManifestBase Condition="'$(_StaticWebAssetsManifestBase)' == ''">$(IntermediateOutputPath)</_StaticWebAssetsManifestBase>
300300
<StaticWebAssetBasePath Condition="'$(StaticWebAssetBasePath)' == ''">_content/$(PackageId)</StaticWebAssetBasePath>
301301
<StaticWebAssetProjectMode Condition="'$(StaticWebAssetProjectMode)' == ''">Default</StaticWebAssetProjectMode>
302302
<StaticWebAssetBuildManifestPath>$(_StaticWebAssetsManifestBase)staticwebassets.build.json</StaticWebAssetBuildManifestPath>

0 commit comments

Comments
 (0)