- Create a file foo.min.js with arbitrary code in it but do NOT have a foo.js file
- Add it to a bundle (possibly with other items)
- Create a site that calls Scripts.Render("~/mybundle")
Run the page in either debug or release (but it's easier to see in debug)
The foo.min.js reference isn't included
The foo.min.js reference should be included despite not having a non-minified version.
My app has many files that for legacy reasons have arbitrary filenames that for a variety of reasons must not be changed. Some of those files are already minified, but I still want to bundle them.