Use the following code in the BundleConfig.cs of your ASP.NET MVC application to force bundling and minification.

// BundleConfig::RegisterBundles
BundleTable.EnableOptimizations = true;

Why?

Why would you do this? Sometimes bundling and minification causes problems, such as in AngularJS. You will want to find these problems before publishing, so just enable this line every once in a while to make sure everything still works as expected with the optimizations.