1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-electron/renderer/next.config.js
HaNdTriX 79a7878c7d Update with-electron example (#4386)
Electron recommends to disable nodeIntegration in BrowserViews.
This PR follows this recommendation and updates the example accordingly.

 Changes:

- disable nodeIntegration
- update dependencies
2018-05-16 10:49:13 +02:00

11 lines
255 B
JavaScript

module.exports = {
exportPathMap () {
// Let Next.js know where to find the entry page
// when it's exporting the static bundle for the use
// in the production version of your app
return {
'/start': { page: '/start' }
}
}
}