The JavaScript Breeze Client NuGet package has an unusual JavaScript file pairing: there is a breeze.min.js
and a breeze.debug.js
. More typical is foo.js
and foo.min.js
, which is straightforward to use with ASP.NET bundling and minification: just include foo.js
in the bundle, and by default, ASP.NET will use foo.min.js
in production.
However, it's not clear what to do with breeze.debug.js
. Should I include it in the bundle so I have access during development to any special debug code it contains? But then what about production? Will ASP.NET pick up the .min.js
file, or will it minify the .debug.js
file, in which case any debug code in the file would make it into production?