@nuxt/nitro-server-nightly 4.4.5-29633346.9fcae4fd → 4.4.5-29635130.9bd0674a

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
@@ -21,7 +21,7 @@ import { hasTTY, isCI, isWindows } from "std-env";
21
21
  import { ImpoundPlugin } from "impound";
22
22
  import { resolveModulePath } from "exsolve";
23
23
  import { runtimeDependencies } from "nitropack/runtime/meta";
24
- var version = "4.4.5-29633346.9fcae4fd";
24
+ var version = "4.4.5-29635130.9bd0674a";
25
25
  function toArray(value) {
26
26
  return Array.isArray(value) ? value : [value];
27
27
  }
@@ -477,8 +477,8 @@ async function bundle(nuxt) {
477
477
  for (const [route, value] of Object.entries(nitro.options.routeRules)) if (!route.endsWith("*") && !route.endsWith("/_payload.json")) {
478
478
  if (value.ssr === false) continue;
479
479
  if (value.isr || value.cache || value.prerender && nuxt.options.dev) {
480
- const payloadKey = route + "/_payload.json";
481
- const defaults = {};
480
+ const payloadKey = (route === "/" ? "" : route) + "/_payload.json";
481
+ const defaults = { ssr: true };
482
482
  for (const key of [
483
483
  "isr",
484
484
  "cache",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/nitro-server-nightly",
3
- "version": "4.4.5-29633346.9fcae4fd",
3
+ "version": "4.4.5-29635130.9bd0674a",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@babel/plugin-syntax-typescript": "^7.28.6",
30
30
  "@nuxt/devalue": "^2.0.2",
31
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.4.5-29633346.9fcae4fd",
31
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.4.5-29635130.9bd0674a",
32
32
  "@unhead/vue": "^2.1.13",
33
33
  "@vue/shared": "^3.5.33",
34
34
  "consola": "^3.4.2",
@@ -58,7 +58,7 @@
58
58
  "peerDependencies": {
59
59
  "@babel/plugin-proposal-decorators": "^7.25.0",
60
60
  "@rollup/plugin-babel": "^6.0.0 || ^7.0.0",
61
- "nuxt": "npm:nuxt-nightly@4.4.5-29633346.9fcae4fd"
61
+ "nuxt": "npm:nuxt-nightly@4.4.5-29635130.9bd0674a"
62
62
  },
63
63
  "peerDependenciesMeta": {
64
64
  "@babel/plugin-proposal-decorators": {
@@ -70,9 +70,9 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@babel/plugin-proposal-decorators": "7.29.0",
73
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.4.5-29633346.9fcae4fd",
73
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.4.5-29635130.9bd0674a",
74
74
  "@rollup/plugin-babel": "7.0.0",
75
- "nuxt": "npm:nuxt-nightly@4.4.5-29633346.9fcae4fd",
75
+ "nuxt": "npm:nuxt-nightly@4.4.5-29635130.9bd0674a",
76
76
  "obuild": "0.4.34",
77
77
  "vitest": "4.1.5"
78
78
  },