rsnext/test/production
Gal Schlezinger e05c31df17
Throw an error when target: 'serverless' is used with Middleware (#37819)
Serverless target is deprecated, so we don't support it in Middleware as it's a new feature,
but we need to have a good error message for that. This commit solves that.

## Related

* Fixes #37433



## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
2022-06-19 13:17:18 +00:00
..
dependencies-can-use-env-vars-in-middlewares feat(middleware)!: forbids middleware response body (#36835) 2022-05-19 22:02:20 +00:00
emit-decorator-metadata Add decoratorMetadata flag if enabled by tsconfig (#32914) 2022-02-06 16:48:09 +00:00
enoent-during-require Ensure ENOENT error is not ignored when loading pages (#37486) 2022-06-06 14:35:26 -04:00
eslint-plugin-deps Ensure eslint plugins dont conflict (#35667) 2022-03-28 12:31:30 -05:00
fallback-export-error Update check for fallback pages during export (#33323) 2022-01-17 14:44:45 +00:00
generate-middleware-source-maps chore: narrows regexp to enable middleware source maps (#37582) 2022-06-10 20:22:03 -05:00
jest chore: use pnpm install in tests (#37712) 2022-06-16 18:08:07 +00:00
middleware-environment-variables-in-node-server-reflect-the-usage-inference feat(middleware)!: forbids middleware response body (#36835) 2022-05-19 22:02:20 +00:00
middleware-is-not-allowed-when-using-serverless-target Throw an error when target: 'serverless' is used with Middleware (#37819) 2022-06-19 13:17:18 +00:00
middleware-typescript Edge Functions: deprecate access to request.page (#37349) 2022-06-01 20:06:37 +00:00
middleware-with-dynamic-code chore: use pnpm install in tests (#37712) 2022-06-16 18:08:07 +00:00
missing-dep-error Ensure type check/link worker does not retry (#37324) 2022-05-31 11:30:38 -05:00
pnpm-support chore: use pnpm install in tests (#37712) 2022-06-16 18:08:07 +00:00
postcss-plugin-config-as-string allow to provide postcss plugin options as a string (#35173) 2022-04-08 16:58:50 +00:00
prerender-prefetch Update to not trigger revalidation during prefetch (#37201) 2022-05-29 23:05:23 +00:00
react-18-streaming-ssr Fix react root env missing in NextServer (#37562) 2022-06-09 15:43:38 +02:00
reading-request-body-in-middleware feat(middleware)!: forbids middleware response body (#36835) 2022-05-19 22:02:20 +00:00
required-server-files Update usage of example.com -> example.vercel.sh (#37630) 2022-06-10 18:19:37 -05:00
standalone-mode-and-optimizecss Fix outputStandalone with optimizeCss (#36028) 2022-04-11 16:14:28 -05:00
typescript-basic chore: use pnpm install in tests (#37712) 2022-06-16 18:08:07 +00:00
required-server-files-i18n.test.ts Update matched path params priority (#37646) 2022-06-13 13:34:08 +00:00
required-server-files.test.ts Fix rewrite/dynamic interpolation E2E cases (#37669) 2022-06-13 15:46:19 -05:00