'No source map when deploying a Create React App to Netlify
Deploying to Netlify using react-create-app.
Issue:
- Not build the source map for production deploy.
- Have the source map for other builds for debugging.
Solution 1:[1]
If you are not using netlify.toml you can also use Environment Variables to set
GENERATE_SOURCEMAP = false
in your site settings->Build & Deploy -> Environment
Here is the screenshot enter image description here
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | John Elijah |
