According to documentation in release mode the bundler should use the .min.js file if it exists. I am adding angular the following way:
bundles.Add(new ScriptBundle(Bundles.Scripts).Include(
"~/Content/Scripts/angular.js"));
I have angular.js and angular.min.js in the same folder. So according to what I understand the bundler should just use the angular.min.js and do not do anything itself. But when I check the result in the http response, it's different. It's also minified, but all the names are different:
What I get in the browser:
(function(n,t,i){"use strict";function v(n)
Angular.min.js
(function(P,X,u){'use strict';function M(b)
Can someone explain why this is happening? Does the bundler just ignore the .min file or it minifies again .min.js?
P.S. I have tried to delete the angular.js file and I get an empty result after that, so it seems the bundler does not care at all that angular.min.js exist.