You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deleting the minified file definitely prevents Dynamic Bundles from bundling the same thing twice, but you shouldn't have to do it. It's a problem that is easily fixed in Dynamic Bundles. Also, deleting files is not always an option. For example, when you're using a package manager to download your dependencies, you almost always get a non-minified and a minified version, and there's no point in deleting one of them because an update of dependencies automatically restores them.
Furthermore, I don't consider it optimal to always pick the minified version. While developing it's beneficial to use non-minified scripts. This improves the debugging experience when using browser developer tools.
If a view folder contains both a regular JavaScript file, and a minified version, Dynamic Bundle includes both files in the generated bundle.
Dynamic Bundle should ignore the minified version if there is a regular version. ASP.NET itself should take the minified version in Release mode.
Same goes for bar.css and bar.min.css by the way.
The text was updated successfully, but these errors were encountered: