I\'ve set up an ASP.NET 5 project in Visual Studio and created a gulpfile.js which I use to build my typescript and less files.
For release builds, I want to uglify
The easiest way I've found:
grunt - https://docs.microsoft.com/en-us/aspnet/core/client-side/using-grunt
gulp - https://docs.microsoft.com/en-us/aspnet/core/client-side/using-gulp
cmd.exe /c gulp -b ".\.." --color --gulpfile ".\..\Gulpfile.js" $(ConfigurationName)