What is the expected behaviour of bundling / minification when a local minified version of a file is and is not present?
I assumed that, when a local .min.js file is found it will just use that (when optimized for release) and if debug it will use the other. When optimized for release but no .min.js file is found, I thought it will minify that file accordingly.
However, I have found that even though I have a .min.js file in my scripts folder, that which is output in the bundle (in release) is not the same as that - it has been altered.
I should add that these have been added as ScriptBundles in the Bundle.config and all transforms / ignore lists etc have been left at the defaults.
Question arises in the case of a 3rd party library such as jQuery. I wouldn't want the files they supply to be minified by the bundling process - just to use the minified files that have been supplied.
Thanks.