Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does create-react-app application store it's babel configuration when not ejected?

I want to read from JS the babel configuration within a module I am doing.

I do not use webpack, I only use babel with babel cli.

Where can I find the babel configuration of a non ejected application made with create-react-app ?

like image 462
Dimitri Kopriwa Avatar asked Mar 13 '26 04:03

Dimitri Kopriwa


1 Answers

create-react-app doesn't have a separate babel config file.

Instead, it uses the preset babel-preset-react-app.

You can find more details on the preset here - babel-preset-react-app

On the other hand, if you're interested in the webpack config for babel, you'll find it here as pointed out by @Tholle in the comments

webpack.config.js

like image 64
Dinesh Pandiyan Avatar answered Mar 14 '26 19:03

Dinesh Pandiyan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!