mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
docs: add missing fat arrow (#4245)
This commit is contained in:
parent
9578e9f9d8
commit
121f6c2801
|
@ -1128,7 +1128,7 @@ Phases can be imported from `next/constants`:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const {PHASE_DEVELOPMENT_SERVER} = require('next/constants')
|
const {PHASE_DEVELOPMENT_SERVER} = require('next/constants')
|
||||||
module.exports = (phase, {defaultConfig}){
|
module.exports = (phase, {defaultConfig}) => {
|
||||||
if(phase === PHASE_DEVELOPMENT_SERVER) {
|
if(phase === PHASE_DEVELOPMENT_SERVER) {
|
||||||
return {
|
return {
|
||||||
/* development only config options here */
|
/* development only config options here */
|
||||||
|
|
Loading…
Reference in a new issue