Next.js uses Babel6 out of the box, which doesn't support default `module.exports`.
##### Invalid:
```js
// bad import
constLink=require('next/link').default;
// bad export
module.exports=()=>(
<Linkhref='/'>Invalid</Link>
)
```
##### Valid:
```js
// good import
importLinkfrom'next/link';
// good export
exportdefault()=>(
<Linkhref='/'>Valid</Link>
)
```
**Note:** Next.js uses Babel 6 out of the box, which doesn't support default `module.exports`. Every time you export a component, make sure you use the ES6 `export` syntax instead.