Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. <ItemGroup>
  2. <Compile Remove="node_modules***;Client***" />
  3. <Content Remove="wwwrootdist***" />
  4. </ItemGroup>
  5.  
  6. <Target Name="RunWebpack" BeforeTargets="BeforePublish">
  7. <Exec Command="npm run clean:dist" />
  8. <Exec Command="npm run build:prod" />
  9. <ItemGroup>
  10. <DistFiles Include="wwwrootdist***" />
  11. <Content Include="@(DistFiles)" CopytoPublishDirectory="Always" />
  12. <ContentWithTargetPath Include="@(DistFiles)" TargetPath="%(Identity)" CopyToPublishDirectory="Always" />
  13. </ItemGroup>
  14. </Target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement