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
|
||||
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 */
|
||||
|
|
Loading…
Reference in a new issue