title: Can I use a sourcemap and bundle file to retrieve original react code
body: <p>I have these two files on my server:</p>
  
  <p><code>/react/build/static/js/stats.js</code></p>
  
  <p>and</p>
  
  <p><code>/react/build/static/js/main.5c7483.js</code> </p>
  
  <p>In the <code>stats.js</code> file, it has this line at the bottom:</p>
  
  <p><code>//# sourceMappingURL=main.8c33616f.js.map</code> (I noticed the filename does <strong>not</strong> match)</p>
  
  <p>The react app works fine, but I want to make some small changes. However, the developer has told me they completely lost the original source files due to a hard drive failure.</p>
  
  <p>Is it possible to recover source files (or even anything that resembles source code?) I found this <a href="https://www.npmjs.com/package/debundle" rel="nofollow noreferrer">debundle</a> package but couldn't get the configuration to work properly. </p>
  
  <p>They told me the project was created using <code>create-react-app</code>.</p>
  
  <p>In chrome dev tools, it says "Source Map Detected" - but using <code>ctrl+p</code> does not show any components. Just a few random js files like page.js, inject.js, common.js, etc</p>