1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Bring back module.exports because of backwards compat (#5815)

This commit is contained in:
Tim Neutkens 2018-12-04 15:26:20 +01:00 committed by GitHub
parent 7ffcb0bf86
commit bd2ad412d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -1 +1 @@
export {default} from './dist/client/link'
module.exports = require('./dist/client/link')

View file

@ -1,2 +1 @@
export * from './dist/client/router'
export {default} from './dist/client/router'
module.exports = require('./dist/client/router')