Created by: razor-x
With the next major version of CRA releasing soon, we have the opportunity to introduce a low-impact breaking change in order to close https://github.com/facebook/create-react-app/issues/8046#issuecomment-947803258:
- If you use
setupProxy.js
, rename it tosetupProxy.cjs
.
This is an alternative to the arguably better but more complicated PR which has been stuck for a while https://github.com/facebook/create-react-app/pull/10228.