I&#x27;ve been in the habit of leaving sourcemaps in the production drops for this reason that by it&#x27;s nature it&#x27;s not exactly secret, even if the code isn&#x27;t strictly &quot;open source&quot;: if someone is that interested in the non-minified version they are likely to use a deminifier anyway and obfuscation isn&#x27;t security nor copyright law enforcement. Plus it&#x27;s also selfish and lazy to leave the sourcemaps accessible (thus the business case for it): as much as you work to prevent having to debug things in production, you will almost always need to debug things in production.<p>Sourcemaps are great.