title: Jest does not resolve lodash imports
body: <p>I'm writing a web component using StencilJS. One of the helper classes (<code>ArrayHelper.ts</code>) which is imported by my component has these import at the top:</p>
  
  <pre><code>import transform from 'lodash/transform';
  import isEmpty from 'lodash/isEmpty';
  import isEqual from 'lodash/isEqual';
  import isObject from 'lodash/isObject';
  </code></pre>
  
  <p>this all works fine when compiling and serving locally. However, when writing some unit tests and executing them using jest, jest can't resolve these imports properly:</p>
  
  <pre><code>TypeError: isObject_1.default is not a function at Function.Object. 
  &lt;anonymous&gt;.ArrayHelper.toArray (/mycomponent/ArrayHelper.ts:15:35)
  </code></pre>
  
  <p>When I change the imports in <code>ArrayHelper.ts</code> to </p>
  
  <pre><code>import { isEmpty, isEqual, isObject, transform } from 'lodash';
  </code></pre>
  
  <p>then Jest will succesfully run the tests without problems but then the TS compilation by stencilJS doesn't work any more:</p>
  
  <pre><code>Missing Export: mycomponents/ArrayHelper.js:5:27
  'isObject' is not exported by node_modules/lodash/lodash.js
  </code></pre>
  
  <p>Any ideas how to get these imports right for both situations?</p>