Skip to content

Commit 5882836

Browse files
committed
Remove extra files from NPM package
1 parent 4736bc5 commit 5882836

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Nerdbank.GitVersioning.NuGet/Nerdbank.GitVersioning.NuGet.nuproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
<NpmPackageLayoutDir>..\nerdbank-gitversioning.npm\out\nbgv.nuget\</NpmPackageLayoutDir>
7373
</PropertyGroup>
7474
<ItemGroup>
75-
<NpmPackageLayout Include="@(File)">
76-
<TargetPath Condition=" '%(File.TargetPath)' != '' ">$(NpmPackageLayoutDir)$([System.IO.Path]::GetDirectoryName('%(File.TargetPath)'))\%(FileName)%(Extension)</TargetPath>
77-
<TargetPath Condition=" '%(File.TargetPath)' == '' ">$(NpmPackageLayoutDir)%(FileName)%(Extension)</TargetPath>
75+
<NpmPackageLayout Include="@(PackageFile)">
76+
<TargetPath Condition=" '%(PackageFile.TargetPath)' != '' ">$(NpmPackageLayoutDir)$([System.IO.Path]::GetDirectoryName('%(PackageFile.TargetPath)'))\%(FileName)%(Extension)</TargetPath>
77+
<TargetPath Condition=" '%(PackageFile.TargetPath)' == '' ">$(NpmPackageLayoutDir)%(FileName)%(Extension)</TargetPath>
7878
</NpmPackageLayout>
7979
</ItemGroup>
8080
<Copy SourceFiles="@(NpmPackageLayout)" DestinationFiles="@(NpmPackageLayout->'%(TargetPath)')" />

0 commit comments

Comments
 (0)