<p dir="auto">These links are misrepresented as <code class="notranslate">/#</code>.</p>
<p dir="auto">Repro:</p>
<ol dir="auto">
<li><a href="http://localhost:4200/guide/setup" rel="nofollow">http://localhost:4200/guide/setup</a></li>
<li>Examine the link within "You <a href="http://localhost:4200/#why-locally" rel="nofollow">should develop locally</a> on your own machine ... "</li>
<li>It is <code class="notranslate">http://localhost:4200/#why-locally</code> which yields doc-not-found</li>
</ol>
<p dir="auto">Should be <code class="notranslate">http://localhost:4200/guide/setup.html#why-locally</code>.</p>
<p dir="auto">Hi, I just updated my starter project to <strong>angular2.0.0@beta.1</strong> and when running in development, it was okay, but when I run production build and serve it, it showed error as follows:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7658554/12212459/3275147c-b69d-11e5-9540-f7123cbeb031.png"><img width="1280" alt="screen shot 2016-01-09 at 6 46 17 am" src="https://cloud.githubusercontent.com/assets/7658554/12212459/3275147c-b69d-11e5-9540-f7123cbeb031.png" style="max-width: 100%;"></a><br>
<strong>It's not happening in angular2.0.0@beta.0</strong></p>
<p dir="auto">you can reproduce it by cloning my <a href="https://github.com/antonybudianto/angular2-starter">repo</a> using <code class="notranslate">repro-mangle-error</code> branch, then run <code class="notranslate">gulp serve-build</code></p>
<p dir="auto">I'm using <a href="https://github.com/systemjs/builder">SystemJS builder</a> for bundling, thanks!</p>