title: firebase deploy of create react app exposes all js code in the source tab?
body: <p>I have compiled my app via create react app: <code>yarn build</code> <code>//code is minified and obfuscated as expected</code></p>
  
  <p>I have then deployed the app via both <code>firebase serve</code> and <code>firebase deploy</code>.</p>
  
  <p>my firebase.json:</p>
  
  <pre><code>{
    "database": {
      "rules": "database.rules.json"
    },
    "hosting": {
      "public": "build",
      "rewrites": [
        {
          "source": "**",
          "destination": "/index.html"
        }
      ]
    }
  }
  </code></pre>
  
  <p>All is deployed "almost as expected", with 2 caveats:</p>
  
  <ol>
  <li>inside Chrome developer tools/ Sources tab, my entire js codebase is listed with no minification and or obfuscation!  </li>
  <li>my fonts are not being deployed as the media folder doesnt seem to transfer</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/hNgLZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hNgLZ.png" alt="enter image description here"></a></p>
  
  <p>The structure looks nothing like the build folder which contains the media... (necessary for fonts):</p>
  
  <p><a href="https://i.stack.imgur.com/HLJZ1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HLJZ1.png" alt="enter image description here"></a></p>
  
  <p>Am I setting something up incorrectly, deploying the wrong folder or possibly not ignoring something I should be?  Exposing the entire js stack unminified and or without any obfuscation seems very "un-secure"... </p>
  
  <p>Again, and as always any and all direction is greatly appreciated!</p>