Directory bundles can be created in this way...
bundles.Add(new ScriptBundle("~/bundles/mybundle").IncludeDirectory(
"~/Scripts/app/", "*.js"));
The output (without token) of @Scripts.Url("~/bundles/mybundle")
is this..
/bundles/mybundle
Which directs to a single file with the entire directory contents bundled and minified.
Is there a way to have the bundler create a bundle such that the files are minified but not bundled into a single file?
/bundles/mybundle/myScript1.js
/bundles/mybundle/myScript2.js
/bundles/mybundle/myScript3.js
Scripts.Url("~/bundles/mybundle")
would then reference the root directory of the virtual path