title: MVC4 Beta Minification and Bundling: Ordering files and debugging in browser
body: <p>I've started using bundling and minification included with the MVC4 Beta. I'm running into a few issues with it:</p>
  
  <p>For one thing, if I use the classic <code>&lt;script src="Folder/js" type="text/javascript"/&gt;</code> bundling, it seems like I have to rename my files to make sure they're bundled in the proper order. </p>
  
  <ul>
  <li>Let's say I have three javascript files: "ants.js", "bugs.js", "insects.js"</li>
  <li>ants.js depends on bugs.js</li>
  <li>bugs.js depends on insects.js</li>
  <li>Default bundling seems to bundle them in alphabetical order.</li>
  <li>To get them to bundle properly, I have to rename them to: "0.insects.js", "1.bugs.js", "2.ants.js"</li>
  <li>That's really hackish and there has to be a cleaner way.</li>
  </ul>
  
  <p>The next problem I'm having is debugging. I like to step through the javascript in my testing browsers, is there a way to turn off just the minification while in DEBUG mode?</p>
  
  <p>EDIT: To be clear, I know I can create bundles and register them from C#, it just seems really ugly to have to do it that way.</p>