The docs should explain how to disable sourcemaps (or even better have them off by default) #10674
Labels
help - confirm behaviour
Walk through the example/issue and confirm this is a general behaviour, or a correct update to make.
should this be documented?
Need to figure out whether this is something to add to documentation or not
📋 Explain your issue
I've been searching around the docs to try to disable sourcemaps, but I don't see any information on how to do that. I'm using Astro 4 and React 18.
Sourcemaps should really be disabled in production by default, because most people don't want the world to be able to read their code comments, and they don't expect that it's the default behavior.
The text was updated successfully, but these errors were encountered: