As the title says. I upgraded react-scripts to v4 and the build time went from ~6min to ~13min. Now netlify kills the deployment. On my local env the build takes ~4min, what can I do to reduce the build. I know the internet is swarming with cra slow builds but none of them are actually helpful.
I’m using
- node: v14.12 (also on Netlify)
- yarn: v1.22.5 (also on Netlify)
- craco/craco: V5.7.0
- typescript: V4.0.2
- react-scripts: v4.0