@vercel/next 4.3.4 → 4.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +8 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14022,11 +14022,17 @@ ${JSON.stringify(
14022
14022
  prerenderRoutes.forEach((route) => {
14023
14023
  if (experimentalPPRRoutes.has(route))
14024
14024
  return;
14025
- if (inversedAppPathManifest?.[route])
14026
- return;
14027
14025
  if (routesManifest?.i18n) {
14028
14026
  route = normalizeLocalePath(route, routesManifest.i18n.locales).pathname;
14029
14027
  }
14028
+ if (
14029
+ // we can't delete dynamic app route lambdas just because
14030
+ // they are in the prerender manifest since a dynamic
14031
+ // route can have some prerendered paths and the rest SSR
14032
+ inversedAppPathManifest[route] && isDynamicRoute(route)
14033
+ ) {
14034
+ return;
14035
+ }
14030
14036
  delete lambdas[normalizeIndexOutput(
14031
14037
  import_path4.default.posix.join("./", entryDirectory, route === "/" ? "/index" : route),
14032
14038
  true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.3.4",
3
+ "version": "4.3.5",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",