DEV Community

Discussion on: Maybe I Should Have Just Used create-react-app

clamstew profile image
Clay Stewart • Edited on

I used ejected CRA on a substantial work project because we wanted to use postcss plugins and spread operators. We at some point switched to emotion and CRA built in some of the Babel niceties we wanted. Then in the last 6 months I unejected it. It’s really all you need.

I found everything I wanted to customize from CRA could be done with simple node scripts run after react-scripts build in yarn build. Like I didn’t like source maps. So I wrote a node script to remove them from /build.

bugzpodder profile image

You can turn off sourcemaps by setting GENERATE_SOURCEMAP=false yarn build