The extension in your browser next to
The extension in your browser, next to the address bar:
6 Replies
Got it 👍 I see it says it's using the production build of React.
@rozenmd - this is my first React app. Is it correct for me to be seeing those JS files in my production build?
what you're seeing is called a source map - you can turn them off if you want via create-react-app's env vars: https://create-react-app.dev/docs/advanced-configuration/
Advanced Configuration | Create React App
You can adjust various development and production settings by setting environment variables in your shell or with .env.
but by default, create-react-app leaves them on so it's easier to find bugs in your code
Thanks, @rozenmd - I appreciate the help.
No worries