Propose some sentence changes (#19121)
This commit is contained in:
parent
04ab35298a
commit
c64bbfeacd
1 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,9 @@ description: Extend the babel preset added by Next.js with your own configs.
|
|||
</ul>
|
||||
</details>
|
||||
|
||||
Next.js includes the `next/babel` preset to your app, it includes everything needed to compile React applications and server-side code. But if you want to extend the default Babel configs, it's also possible.
|
||||
Next.js includes the `next/babel` preset to your app, which includes everything needed to compile React applications and server-side code. But if you want to extend the default Babel configs, it's also possible.
|
||||
|
||||
To start, you only need to define a `.babelrc` file at the top of your app, if such file is found, we're going to consider it the _source of truth_, therefore it needs to define what Next.js needs as well, which is the `next/babel` preset.
|
||||
To start, you only need to define a `.babelrc` file at the top of your app. If such a file is found, it will be considered as the _source of truth_, and therefore it needs to define what Next.js needs as well, which is the `next/babel` preset.
|
||||
|
||||
Here's an example `.babelrc` file:
|
||||
|
||||
|
|
Loading…
Reference in a new issue