title: Import npm modules in client side React components
body: <p>In Meteor if I import lodash from npm like this in a react component and console.log "lodash" in the following locations it will always come up as undefined within the component. The same thing also happens with moment. I'm at my wits end because from what the docs say I thought this was possible. Is this possible, and if so is there something I'm missing here? Any help is much appreciated.</p>
  
  <pre><code>import React from 'react'
  import lodash from 'lodash'
  
  console.log(lodash) // lodash is found just fine
  
  export default class SomeComponent extends React.Component {
      constructor(props) {
          super(props)
          this.someFunction = this.someFunction.bind(this)
      }
      someFunction() {
          console.log(lodash) // Throws error that lodash is undefined.
      }
  }
  </code></pre>