title: React - exports from root app.js file not working
body: <p>If my project looks like this:</p>
  
  <p><code>/app.js &lt;--- specified as the application entry point in webpack.config.js
   /test.js
   /components/aComponent.js</code></p>
  
  <p>and <code>app.js</code> contains this:</p>
  
  <p><code>export const aString = "hello";
   require('./components/aComponent.js');</code></p>
  
  <p>and <code>test.js</code> contains this:</p>
  
  <p><code>export const bString = "wassup";</code></p>
  
  <p>and <code>/components/aComponent.js</code> contains this:</p>
  
  <p><code>import { aString } from '../app';
   import { bString } from '../test';
   console.log("a string: " + aString);
   console.log("b string: " + bString);</code></p>
  
  <p>The output will be:</p>
  
  <p><code>a string: undefined
   b string: 'wassup'</code></p>
  
  <p>So any file, whether in a subdirectory or adjacent to app.js, can not access the exports. There is no compile errors from webpack as per usual if I make a typo in the filename of an import, the exports just always return undefined.</p>
  
  <p>All of the other components, actions, reducers, selectors, and utils in my project are exporting / importing as expected, and I have tried both './../app' and '../app' in the path but once again, there are no compile errors so I don't think that is the issue.</p>