rationale for separate prod / dev sections? #11525
Unanswered
mattkauffman23
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We just ran into an issue where our build in a staging env crashed due to a CSP violation. We traced it back to a problem with a specific version of https://github.com/facebook/regenerator, which wasn't too big a deal. The issue was that problem didn't show up in development because regenerator wasn't being included as it wasn't required for the target based on the browserlist. We're thinking we should configure production / development to be identical, but wanted to understand why they're separated in the default configuration create-react-app produces. Here's what's included in
package.json
by default:Anyone familiar with tradeoffs in using a "larger" browser list in development?
Beta Was this translation helpful? Give feedback.
All reactions