ASP.NET bundle does not work when deployed (debug="false")
<p>In development bundling works as expected with uncombined and unminified files but after deploying a site with web.config set enable the bundles</p>

<pre><code>&lt;compilation debug="false" targetFramework="4.5" /&gt;
</code></pre>

<p>the result of get a request to a bundle may include a comment at the top similar to the following</p>

<pre><code>/* Minification failed. Returning unminified contents.
.. errors like JS1002 or JSxxxx errors
</code></pre>

<p>In other cases no errors are thrown from minification but some javascripts fails to run or errors during execution.</p>

<p>What syntax in otherwise working javascript might cause this behavior after bundling?</p>
