Skip to content

Commit 8371ebc

Browse files
committed
Mention babel.config.js
1 parent 4d7f52b commit 8371ebc

8 files changed

+8
-8
lines changed

docs/multiple-transformers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In your project's root folder:
1414

1515
#### For React Native v0.57 or newer / Expo SDK v31.0.0 or newer
1616

17-
Add more extensions to `.babelrc`:
17+
Add more extensions to `.babelrc` (or `babel.config.js`):
1818

1919
```json
2020
{

docs/setup-css.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ yarn add babel-plugin-react-native-classname-to-style babel-plugin-react-native-
4343

4444
#### For React Native v0.57 or newer
4545

46-
`.babelrc`
46+
`.babelrc` (or `babel.config.js`)
4747

4848
```json
4949
{

docs/setup-less.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ yarn add babel-plugin-react-native-classname-to-style babel-plugin-react-native-
4343

4444
#### For React Native v0.57 or newer
4545

46-
`.babelrc`
46+
`.babelrc` (or `babel.config.js`)
4747

4848
```json
4949
{

docs/setup-postcss.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Add your PostCSS configuration to [one of the supported config formats](https://
4949
5050
#### For React Native v0.57 or newer
5151

52-
`.babelrc`
52+
`.babelrc` (or `babel.config.js`)
5353

5454
```json
5555
{

docs/setup-responsive.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ yarn add babel-plugin-react-native-classname-to-dynamic-style babel-plugin-react
4545

4646
#### For React Native v0.57 or newer
4747

48-
`.babelrc`
48+
`.babelrc` (or `babel.config.js`)
4949

5050
```json
5151
{

docs/setup-sass.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ yarn add babel-plugin-react-native-classname-to-style babel-plugin-react-native-
4343

4444
#### For React Native v0.57 or newer
4545

46-
`.babelrc`
46+
`.babelrc` (or `babel.config.js`)
4747

4848
```json
4949
{

docs/setup-stylename.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ yarn add babel-plugin-react-native-stylename-to-style babel-plugin-react-native-
4747

4848
#### For React Native v0.57 or newer
4949

50-
`.babelrc`
50+
`.babelrc` (or `babel.config.js`)
5151

5252
```json
5353
{

docs/setup-stylus.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ yarn add babel-plugin-react-native-classname-to-style babel-plugin-react-native-
4343

4444
#### For React Native v0.57 or newer
4545

46-
`.babelrc`
46+
`.babelrc` (or `babel.config.js`)
4747

4848
```json
4949
{

0 commit comments

Comments
 (0)