Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ItemGroup>
- <Compile Remove="node_modules***;Client***" />
- <Content Remove="wwwrootdist***" />
- </ItemGroup>
- <Target Name="RunWebpack" BeforeTargets="BeforePublish">
- <Exec Command="npm run clean:dist" />
- <Exec Command="npm run build:prod" />
- <ItemGroup>
- <DistFiles Include="wwwrootdist***" />
- <Content Include="@(DistFiles)" CopytoPublishDirectory="Always" />
- <ContentWithTargetPath Include="@(DistFiles)" TargetPath="%(Identity)" CopyToPublishDirectory="Always" />
- </ItemGroup>
- </Target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement