@nuxt/nitro-server-nightly 5.0.0-29634695.e0e3febf → 5.0.0-29636201.7c062df4

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.mjs +3 -3
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import { ImpoundPlugin } from "impound";
18
18
  import { resolveModulePath } from "exsolve";
19
19
  import { runtimeDependencies } from "nitro/meta";
20
20
  import { resolveModuleExportNames } from "mlly";
21
- var version = "5.0.0-29634695.e0e3febf";
21
+ var version = "5.0.0-29636201.7c062df4";
22
22
  function toArray(value) {
23
23
  return Array.isArray(value) ? value : [value];
24
24
  }
@@ -484,8 +484,8 @@ async function bundle(nuxt) {
484
484
  for (const { route, data: value } of nitro.routing.routeRules.routes) if (!route.endsWith("*") && !route.endsWith("/_payload.json")) {
485
485
  if (value.ssr === false) continue;
486
486
  if (value.isr || value.cache || value.prerender && nuxt.options.dev) {
487
- const payloadKey = route + "/_payload.json";
488
- const defaults = {};
487
+ const payloadKey = (route === "/" ? "" : route) + "/_payload.json";
488
+ const defaults = { ssr: true };
489
489
  for (const key of [
490
490
  "isr",
491
491
  "cache",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/nitro-server-nightly",
3
- "version": "5.0.0-29634695.e0e3febf",
3
+ "version": "5.0.0-29636201.7c062df4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@babel/plugin-syntax-typescript": "^7.28.6",
30
- "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29634695.e0e3febf",
30
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29636201.7c062df4",
31
31
  "@unhead/vue": "^2.1.13",
32
32
  "@vue/shared": "3.5.34",
33
33
  "consola": "^3.4.2",
@@ -56,7 +56,7 @@
56
56
  "peerDependencies": {
57
57
  "@babel/plugin-proposal-decorators": "^7.25.0",
58
58
  "@rollup/plugin-babel": "^6.0.0 || ^7.0.0",
59
- "nuxt": "npm:nuxt-nightly@5.0.0-29634695.e0e3febf"
59
+ "nuxt": "npm:nuxt-nightly@5.0.0-29636201.7c062df4"
60
60
  },
61
61
  "peerDependenciesMeta": {
62
62
  "@babel/plugin-proposal-decorators": {
@@ -68,10 +68,10 @@
68
68
  },
69
69
  "devDependencies": {
70
70
  "@babel/plugin-proposal-decorators": "7.29.0",
71
- "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29634695.e0e3febf",
71
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29636201.7c062df4",
72
72
  "@rollup/plugin-babel": "7.0.0",
73
73
  "hookable": "6.1.1",
74
- "nuxt": "npm:nuxt-nightly@5.0.0-29634695.e0e3febf",
74
+ "nuxt": "npm:nuxt-nightly@5.0.0-29636201.7c062df4",
75
75
  "obuild": "0.4.33",
76
76
  "vitest": "4.1.5"
77
77
  },