title: Reference an export in React
body: <p>In my React app, when I import a css file, React creates a special Javascript file in place of the css file:</p>
  
  <pre><code>import myCss from '../../res/css/app.css';
  </code></pre>
  
  <p>And here is the file structure of the app and the app.css file that gets created:</p>
  
  <p><a href="https://i.stack.imgur.com/kwEXK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kwEXK.png" alt="Exported module in React"></a></p>
  
  <p>In the right pane in DevTools, it is clear to me that the values of the css have been loaded. I would like to access these but have no idea how. They are clearly stored in an array called exports, which is stored in a variable called module. But I have no idea how to reference that array item since I would have to know what module.id is.</p>