title: How do I turn my create-react-app project into a single html file with embeded js?
body: <p>I made a simple create-react-app project as a test assignment for a new job. I'm already finished with the project, but there's a catch:</p>
  
  <p>I must turn the project in as <strong>a single html file</strong> with embeded js and css.</p>
  
  <p>How do I turn my create-react-app project into a single file?</p>
  
  <hr>
  
  <p><strong>Edit:</strong> Running npm build doesn't solve my issue, as it builds the project, but the result <strong>is not a single html file!</strong> - it generates an index.html <strong>plus a static/ folder</strong> to import sources from.</p>
  
  <p>I could hand-paste those I guess, but am looking for a more elegant solution!</p>