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

17 lines
702 B
JavaScript
Raw Normal View History

2017-05-09 21:03:20 +00:00
module.exports = {
exportPathMap: function () {
return {
'/': { page: '/' },
'/about': { page: '/about' },
'/button-link': { page: '/button-link' },
'/get-initial-props-with-no-query': { page: '/get-initial-props-with-no-query' },
2017-05-09 21:03:20 +00:00
'/counter': { page: '/counter' },
'/dynamic-imports': { page: '/dynamic-imports' },
2017-05-09 21:03:20 +00: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' } },
'/file-name.md': { page: '/dynamic', query: { text: 'this file has an extension' } }
2017-05-09 21:03:20 +00:00
}
}
}