title: importing react-leaflet in react with webpack returns error
body: <p>I am trying to simply import react-leaflet without rendering any maps in my project but it gives me this error. </p>
  
  <pre><code>TypeError: Object(...) is not a function
  </code></pre>
  
  <p>I know for sure it's from the import statement. It even points to it in the error on line 2. Here is my code. </p>
  
  <pre><code>import React from 'react'
  import { Map } from 'react-leaflet'
  
  export default class MyMap extends React.Component {
    constructor() {
      super()
      this.state = {
        lat: 51.505,
        lng: -0.09,
        zoom: 13
      }
    }
  
    render() {
      return (
          &lt;div&gt;&lt;h1&gt;E&lt;/h1&gt;&lt;/div&gt;
      );
    }
  }
  </code></pre>
  
  <p>Code works fine without the import statement. What am I doing wrong here?</p>