title: Webpack use AMD define
body: <p>I'm trying to convert my company project, from JSPM and systemJS to webpack.
  So i started a new project from scratch and instaled basic configuration.</p>
  
  <p>I need to include in the project a old package that was build by former collegues. The package was develop in Jquery and use the AMD define method.</p>
  
  <p>So I searched and found <a href="https://github.com/webpack-contrib/imports-loader" rel="nofollow noreferrer">imports-loader</a>.</p>
  
  <p>In my webpack configuration I have:</p>
  
  <pre><code>{
        test: path.resolve(__dirname, 'vendor/module/module.js'),
        loader: "imports-loader?this=&gt;window&amp;define=&gt;false"
  },
  </code></pre>
  
  <p>And in my code I have the follow:</p>
  
  <pre><code>import Module from 'module';
  new Module.WindowManager(arg1, arg2);
  </code></pre>
  
  <p>When I run the webpack, I got this error:</p>
  
  <pre><code>Uncaught Error: module/wm/window missing module/core/emitter
  </code></pre>
  
  <p>In the module that im trying to use the module/core/emitter are use here:</p>
  
  <pre><code>define('module/wm/window', 
      ['module/core/emitter'], function (Emitter) { ... });
  </code></pre>