title: Webpack umd library return Object.default
body: <p>I'm writing a lib with webpack with these settings:</p>
  
  <pre><code>output: {
      path: path.join('build'),
      filename: 'my_lib.js',
      library: 'MyLib',
      libraryTarget: 'umd'
    },
  </code></pre>
  
  <p>MyLib:</p>
  
  <pre><code>export default function() {
    console.log('MyLib');
  }
  </code></pre>
  
  <p>The problem is, when I try to load the build/my_lib.js in a browser, the only way to access MyLib is through MyLib.default...</p>
  
  <p>Any idea?</p>