I am a great fan of ASP.NET Core and have followed its evolution from the first steps to the integration in VS2017 with the return to the msbuild-based project system. I am also a great fan of Google Polymer and now that the 2.0 release is almost done I want to experiment with the combination of both.
I created an ASP.NET Core Web Api project that is going to implement a REST API for the Polymer frontend. Then I pointed my command line to the wwwroot folder and did
polmyer init
to create an application template which creates some template html files and a bower_components directory with all the basic dependencies, all in the wwwroot folder!
My question is:
VS2017 has a publish function which by default publishes everything that's in the wwwroot folder but probably would allow me to exclude specific files or folders. On the other hand Polymer CLI as a build function that allows me to compile ES6 to ES5, minimize either HTML, CSS, JS or all and bundle the files. How can I combine the two to give me a single-click publish experience in VS2017?