I can't find a decent answer to this question. I see there are a couple other similar questions that have been asked, but they do not provide me with decent answers.
In Visual Studio, is there a way to compress all files that should be compressed (HTML, XML, CSS) automatically when the application is published?
It seems a bit pointless and wasteful to have all the extra white space, comments, and other things on the server. I have looked for different Extensions and NuGet packages, but have been unable to find anything that provides me with a solution.