rsnext/test/integration/auto-export-query-error/next.config.js
Steven 9c5bb5bfe9
BREAKING CHANGE: Remove target: serverless (#41495)
The `target: serverless` config was deprecated a year ago starting in
[Next.js 12](https://nextjs.org/blog/next-12).

Tests were disabled in #41252 so we can now remove `target: serverless`
and all usage of `target` in `next.config.js`.

Co-authored-by: Balázs Orbán <info@balazsorban.com>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2022-10-18 09:47:13 -07:00

9 lines
215 B
JavaScript

module.exports = {
exportPathMap() {
return {
'/': { page: '/hello', query: { first: 'second' } },
'/amp': { page: '/amp' },
'/ssr': { page: '/ssr', query: { another: 'one' } },
}
},
}