Minification And Bundling In Sharepoint. This article describes how to use minification and bundling techniques with Web Essentials to reduce the number of HTTP requests and to reduce the time it takes to load pages in SharePoint Online. Its a logical group of files referenced by a unique name with a HTTP request.
Bundling and minifying the CSS and JavaScript files. Prior to each build execution of the tools required in the bundling and minification tasks. This article explains how to perform bundling and minification using Visual Studio extension.
Are you trying to add MVC routesbundling inside SharePoint website or are you doing it for an provider hosted app.
Also it is easy to manage the XML to maintain the Bundles for the pages. This article explains how to perform bundling and minification using Visual Studio extension. Stack Overflow for Teams Where developers. The SharePoint JS files are sitting in the layouts directory you would have to copy all of them into your solution then minify and bundle.