next.js/test/integration/prerender-export/next.config.js
next.config.js11 lines273 B
module.exports = {
  output: 'export',
  exportTrailingSlash: true,
  exportPathMap: function (defaultPathMap) {
    if (defaultPathMap['/blog/[post]']) {
      throw new Error('Found Incremental page in the default export path map')
    }
    return defaultPathMap
  },
}
Quest for Codev2.0.0
/
SIGN IN