title: Webpack imports-loader not working "Cannot find module"
body: <p>The GSAP library that I am loading requires access to the document object. I have research many solutions, but none have worked. How do I expose the document object to that plugin (or to all plugins)?</p>
  
  <p>This page for instance: <a href="http://webpack.github.io/docs/shimming-modules.html" rel="nofollow">http://webpack.github.io/docs/shimming-modules.html</a>
  explains three potential solutions. For me, each one yields a different error message.</p>
  
  <p>If I write import </p>
  
  <pre><code>{TimelineMax} from 'imports?this=&gt;window!gsap';
  </code></pre>
  
  <p>I get the error </p>
  
  <pre><code>Cannot find module 'imports?this=&gt;window!gsap'
  </code></pre>
  
  <p>The problem is not unique to GSAP; it happens with every library. Imports loader is not recognized by webpack. Even though it is in package.json, has been installed, and other loaders work fine.</p>
  
  <pre><code>"imports-loader": "0.6.5",
  </code></pre>
  
  <p>Any help appreciated.</p>