From 97714e8b2a2bb43925537d272b380541b9417d50 Mon Sep 17 00:00:00 2001 From: I am not shine Date: Thu, 9 Feb 2017 11:57:17 -0600 Subject: [PATCH] wrong position of babel config example (#1057) --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d717bbff..e98c55f0 100644 --- a/README.md +++ b/README.md @@ -512,11 +512,6 @@ export default class Error extends React.Component { ### Custom configuration -

- Examples - -

- For custom advanced behavior of Next.js, you can create a `next.config.js` in the root of your project directory (next to `pages/` and `package.json`). Note: `next.config.js` is a regular Node.js module, not a JSON file. It gets used by the Next server and build phases, and not included in the browser build. @@ -551,6 +546,11 @@ module.exports = { ### Customizing babel config +

+ Examples + +

+ In order to extend our usage of `babel`, you can simply define a `.babelrc` file at the root of your app. This file is optional. If found, we're going to consider it the *source of truth*, therefore it needs to define what next needs as well, which is the `next/babel` preset.