在.csproj檔案中增加npm, bower, gulp, webpack的構建

DukeCheng發表於2017-10-25

<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>

相關文章