Enable bundling and minification in Visual Studio 2017 for ASP.NET Core 2
This article describes the process of enabling bundling and minification;
The basic steps are;
- Open the bundleconfig.json file, you will get prompted to download the tooling. Do that.
- Right click on bundleconfig.json, select 'Bundler and Minifier' then select 'Update Bundles'. You'll need to do that each time you make a change that you want to deploy.
- Optionally select 'Enable bundle on build...' if you want it to re-build the css and js bundles on every build.