title: Deploying an Angular 2 application from Visual Studio 2017
body: <p>I use Visual Studio 2017 and have developed two Angular 2 applications.  The first is pure Angular 2 with no backend code (Data comes from wcf services).  The second is an Angular 2 SPA application hosted in an MVC application (.net 4.6).  They both work great and I can run and edit them in VS2017 with no issues.  The problem comes with deploying to an IIS server.  At the moment, I am bundling the components from the node_modules directory into .js files using gulp.  I am then manually copying all the files for the application (including the gulp bundled files) to a server.  This is a laborious process and I would like to find a better way.  I was hoping Visual Studio would have provided templates to create the two type of angular 2 applications described above and also publish functionality to bundle the app including the necessary node_module components at the click of a button but have been disappointed.  What is my best option to get as close to this functionality as possible?  Please help.</p>