Skip to content

Commit 3d6dd87

Browse files
committed
fix npm pack
1 parent 68cbfdd commit 3d6dd87

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Sdk/NpmPack.targets

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ module.exports = dlls;" />
7070
PackagePath="$([System.IO.Path]::Combine('binaries', '%(_PackageFiles.TargetPath)'))"
7171
Condition="'%(_PackageFiles.Tools)' == 'true'" />
7272

73-
<AcgNpmPackageFiles Include="@(NuGetPackInput)" Condition="'%(NuGetPackInput.PackagePath)' == 'tools'" />
73+
<AcgNpmPackageFiles Include="@(_PackageFiles)"
74+
PackagePath="$([System.IO.Path]::Combine('binaries', $([System.IO.Path]::GetRelativePath('$(TargetDir)', '%(_PackageFiles.Identity)'))))"
75+
Condition="'%(_PackageFiles.Tools)' == 'true' AND '%(_PackageFiles.FinalOutputPath)' == ''" />
7476
</ItemGroup>
7577
</Target>
7678

0 commit comments

Comments
 (0)