在.csproj文件中增加npm, bower, gulp, webpack的构建

<Target Name="RunNpm" AfterTargets="AfterBuild">
   <!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
   <Exec Command="npm install --no-optional --no-package-lock --noi-shrinkwrap" />
   <Exec Command="bower install" />
   <Exec Command="gulp default" />
</Target>

posted @ 2017-10-25 23:40  DukeCheng  阅读(283)  评论(0编辑  收藏  举报