Dimitri Kopriwa
Dimitri Kopriwa

Reputation: 14375

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 ?

Upvotes: 3

Views: 4433

Answers (1)

Dinesh Pandiyan
Dinesh Pandiyan

Reputation: 6299

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

Upvotes: 3

Related Questions