在.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>npm

相關文章
相關標籤/搜索