title: How do I import Modernizr in React
body: <p>I'm trying to detect whether the browser supports window.addEventListener in a create-react-app. I followed the instructions on the modernizr website and have created a modernizr.min.js file with only the single feature test I want. I can't import modernizr since it's not a module. The minified code is hard to read so I'm not sure where I'd modify it to make this a module.</p>
  
  <p>So how do I actually use Modernizr in the javascript of react app?</p>