title: Webpack multiple requires resolving to same file but being imported twice
body: <p>Hello I just had this problem with webpack. If I do <code>require('../something')</code> from one file, and then I do <code>require('../../something')</code> in another file they both end up resolving to the same file. However if you look in the output bundle there are two different webpack functions both with the same content. I'm pretty sure I can use an alias to fix this and then just do <code>require('something')</code> in both files. But is this the right way to do it or am I missing something? </p>
  
  <p>Btw I need this because it's causing several problems with angularjs undefining my controllers.</p>