mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
373661aafa
Also make sure to init assetPrefix in next/asset in the context of next-export.
18 lines
738 B
JavaScript
18 lines
738 B
JavaScript
module.exports = {
|
|
exportPathMap: function () {
|
|
return {
|
|
'/': { page: '/' },
|
|
'/about': { page: '/about' },
|
|
'/asset': { page: '/asset' },
|
|
'/button-link': { page: '/button-link' },
|
|
'/get-initial-props-with-no-query': { page: '/get-initial-props-with-no-query' },
|
|
'/counter': { page: '/counter' },
|
|
'/dynamic-imports': { page: '/dynamic-imports' },
|
|
'/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' } }
|
|
}
|
|
}
|
|
}
|