1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/client/next.js
Kevin Decker 8711a7d14e Fix renderPage in production mode (#3089)
The next object was not being exported in the same manner in dev vs. prod mode.
2017-10-14 19:20:49 +02:00

9 lines
144 B
JavaScript

import initNext, * as next from './'
window.next = next
initNext()
.catch((err) => {
console.error(`${err.message}\n${err.stack}`)
})