title: GitHub.js does not provide an export named 'default'
body: <p>I am trying to use GitHub.js on a Chrome/Firefox extension and I have some issues. </p>
  
  <blockquote>
    <p>Uncaught SyntaxError: The requested module '/static/GitHub.bundle.js'
    does not  provide an export named 'default'</p>
  </blockquote>
  
  <p>I've found a possible solution <a href="https://stackoverflow.com/questions/49744226/does-not-contain-an-export-named">here</a> but I still doesn't work. The authors of 99% of javascript give for granted that the basics are know, but either I don't know them or there is a subtle issue/bug I don't see.</p>
  
  <p>My code is simple:</p>
  
  <pre><code>&lt;html&gt;
    &lt;body id="mybody"&gt; 
      &lt;button id="mybutton" &gt;Click me&lt;/button&gt;
      &lt;script type="module" src="popup.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and popup.js:</p>
  
  <pre><code>//import GitHub from './GitHub.bundle.js';
  import * as GitHub from './GitHub.bundle.js';
  function onWindowLoad() {
  }
  window.onload = onWindowLoad;
  document.getElementById("mybutton").addEventListener("click", clickme); 
  
  function clickme() {
      var github = new GitHub({
          username: 'USER',
          password: 'PASS',
          auth: 'basic'
      });
  }
  </code></pre>
  
  <p>it does stop immediately. it doesn't matter what I have after that. What am I doing wrong? It shouldn't work even as a standalone page.</p>
  
  <p>Note that I have to use .js  or I get a "file not found".</p>
  
  <p>Library: <a href="https://github.com/github-tools/github" rel="nofollow noreferrer">https://github.com/github-tools/github</a></p>