title: ES6 - Duplicate declaration on importing files
body: <p>in pre-es6:</p>
  
  <pre><code>var stream = require("./models/stream");
  var stream = require("./routes/stream");
  </code></pre>
  
  <p>It works fine.</p>
  
  <p>In es6:</p>
  
  <pre><code>import stream from './models/stream';
  import stream from './routes/stream';
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>TypeError: /var/www/.../es6/app.js: Duplicate declaration "stream"
  &gt; 31 | import stream from './routes/stream';
  </code></pre>
  
  <p>Any ideas how can I import it properly?</p>