Skip to content

Commit 165e34e

Browse files
committed
Workarounds for typescript not working
1 parent b2eca32 commit 165e34e

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/Components/Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<OutputPath />
1010
</PropertyGroup>
1111

12+
<PropertyGroup>
13+
<EnableTypeScriptNuGetTarget>true</EnableTypeScriptNuGetTarget>
14+
</PropertyGroup>
15+
1216
<PropertyGroup>
1317
<PackageTags>aspnetcore;components</PackageTags>
1418

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project>
2+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\..\, Directory.Build.props))\Directory.Build.props" />
3+
4+
<PropertyGroup>
5+
<EnableTypeScriptNuGetTarget>true</EnableTypeScriptNuGetTarget>
6+
</PropertyGroup>
7+
</Project>

src/Components/test/testassets/TestContentPackage/TestContentPackage.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<StaticWebAssetBasePath>_content/TestContentPackage</StaticWebAssetBasePath>
88
</PropertyGroup>
99

10+
<PropertyGroup>
11+
<EnableTypeScriptNuGetTarget>true</EnableTypeScriptNuGetTarget>
12+
</PropertyGroup>
13+
1014
<ItemGroup>
1115
<Reference Include="Microsoft.AspNetCore.Components" />
1216
<Reference Include="Microsoft.AspNetCore.Components.Web" />

0 commit comments

Comments
 (0)