title: why require("angular") returns an empty object
body: <p>I've configured webpack like this:</p>
  
  <pre><code>resolve: {
      alias: {
          angular: path.join(__dirname, './node_modules/angular/angular.js')
      }
  },
  </code></pre>
  
  <p>and in my file I require angular like this:</p>
  
  <pre><code>var angular = require("angular");
  </code></pre>
  
  <p>But for some reason an empty object is returned, why?</p>