|
|
|
@ -105,4 +105,15 @@
|
|
|
|
|
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn install" />
|
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
|
|
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<DistFiles Include="$(SpaRoot)dist\**; $(SpaRoot)dist-server\**" />
|
|
|
|
|
<DistFiles Include="$(SpaRoot)node_modules\**" Condition="'$(BuildServerSideRenderer)' == 'true'" />
|
|
|
|
|
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
|
|
|
|
|
<RelativePath>%(DistFiles.Identity)</RelativePath>
|
|
|
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
|
|
|
</ResolvedFileToPublish>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
|
|
</Project>
|
|
|
|
|