<p dir="auto">I have faced the issue with production build. I don't know why, but Next's babel config didn't properly compile my source code, so I ended up with "unexpected token punc()" which is most likely not compiled source to ES5 (which is needed for UglifyJS).</p>
<p dir="auto">I have been searching for issues and also tried to extend babel config with babel-preset-env (targets.uglifyjs = true), but actually it didn't work, nor es-2015 presets.</p>
<p dir="auto">I have fixed this issue by extending webpack config with <code class="notranslate">BabiliPlugin</code> and removing UglifyJS. This is first issue I wanted to report... Moreover I think uglify should be removed if it doesn't support new JS syntax. I want to be able to specify what browsers I support.</p>
<p dir="auto">I have also a problem to detect where and what caused the problem in my source.</p>
<p dir="auto">Sorry if this issue has been already discussed.</p>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto"><code class="notranslate">next dev</code> should accept the -H/--hostname argument, like <code class="notranslate">next start</code> (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="205675873" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/1017" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/1017/hovercard" href="https://github.com/vercel/next.js/pull/1017">#1017</a>).</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto"><code class="notranslate">next dev</code> ignores the hostname argument, defaulting to <code class="notranslate">localhost</code>.</p>
<h2 dir="auto">Context</h2>
<p dir="auto">Cloud9 wants servers to start on 0.0.0.0</p>
<p dir="auto">I am happy to provide a PR for this if you agree.</p>