title: ES6 syntax import Electron (require..)
body: <p>To learn the new ES6 syntax, I've been trying to refactor some JS code.</p>
  
  <p>I'm absolutely confused though by the whole import / export methods.</p>
  
  <p>How do I change this <code>require</code> statement into ES6?</p>
  
  <pre><code>var remote = require('electron').remote
  </code></pre>
  
  <p>I've seen <a href="https://stackoverflow.com/questions/34432695/webpack-cannot-find-module-electron">this answer</a> but:</p>
  
  <ol>
  <li>It doesn't work</li>
  <li>It doesn't really seems to be much ES6-sque</li>
  </ol>
  
  <p>Any thoughts?</p>