rsnext/test/integration/static/next.config.js

15 lines
562 B
JavaScript
Raw Normal View History

2017-05-09 23:03:20 +02:00
module.exports = {
exportPathMap: function () {
return {
'/': { page: '/' },
'/about': { page: '/about' },
'/get-initial-props-with-no-query': { page: '/get-initial-props-with-no-query' },
2017-05-09 23:03:20 +02:00
'/counter': { page: '/counter' },
'/dynamic-imports': { page: '/dynamic-imports' },
2017-05-09 23:03:20 +02:00
'/dynamic': { page: '/dynamic', query: { text: 'cool dynamic text' } },
'/dynamic/one': { page: '/dynamic', query: { text: 'next export is nice' } },
'/dynamic/two': { page: '/dynamic', query: { text: 'zeit is awesome' } }
}
}
}