1
0
Fork 0
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:
Gökay Gürcan 2018-05-01 22:12:16 +02:00 committed by Tim Neutkens
parent 9578e9f9d8
commit 121f6c2801

View file

@ -1128,7 +1128,7 @@ Phases can be imported from `next/constants`:
```js
const {PHASE_DEVELOPMENT_SERVER} = require('next/constants')
module.exports = (phase, {defaultConfig}){
module.exports = (phase, {defaultConfig}) => {
if(phase === PHASE_DEVELOPMENT_SERVER) {
return {
/* development only config options here */