I have the following bundling config:
bundles.Add(new ScriptBundle("~/bundles/superfish").Include(
"~/Scripts/superfish.js",
"~/Scripts/supersubs.js",
"~/Scripts/hoverIntent.js"));
bundles.Add(new StyleBundle("~/bundles/superfish/css").Include(
"~/Content/megafish.css",
"~/Content/superfish-navbar.css",
"~/Content/superfish-vertical.css",
"~/Content/superfish.css"));
I have the following files in the /Scripts folder:
"~/Scripts/superfish.js",
"~/Scripts/superfish.min.js",
"~/Scripts/supersubs.js",
"~/Scripts/hoverIntent.js"
Questions:
a) Should I or not include the ".min" file in the bundle?
b) If not, what is the rule that automatically idenfity the min
file?
Say, could I use the
~/Scripts/superfish-src.min.js
instead of
~/Scripts/superfish.min.js
?
Or sometimes the min files are included all in a "minified" folder. How does the framework know where to search for them?
c) is there a min version for the css files?