@nuxt/nitro-server-nightly 4.4.0-29546353.004e1cac → 4.4.0-29546548.717c5fbf
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.
- package/dist/index.mjs +4 -2
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -20,7 +20,7 @@ import { ImpoundPlugin } from "impound";
|
|
|
20
20
|
import { resolveModulePath } from "exsolve";
|
|
21
21
|
import { runtimeDependencies } from "nitropack/runtime/meta";
|
|
22
22
|
//#region package.json
|
|
23
|
-
var version = "4.4.0-
|
|
23
|
+
var version = "4.4.0-29546548.717c5fbf";
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/utils.ts
|
|
26
26
|
function toArray(value) {
|
|
@@ -386,7 +386,8 @@ async function bundle(nuxt) {
|
|
|
386
386
|
"appLayout",
|
|
387
387
|
"cache",
|
|
388
388
|
"isr",
|
|
389
|
-
"swr"
|
|
389
|
+
"swr",
|
|
390
|
+
"ssr"
|
|
390
391
|
];
|
|
391
392
|
function getRouteRulesRouter() {
|
|
392
393
|
const routeRulesRouter = createRouter();
|
|
@@ -447,6 +448,7 @@ async function bundle(nuxt) {
|
|
|
447
448
|
nuxt.hook("nitro:init", (nitro) => {
|
|
448
449
|
nitro.hooks.hook("build:before", (nitro) => {
|
|
449
450
|
for (const [route, value] of Object.entries(nitro.options.routeRules)) if (!route.endsWith("*") && !route.endsWith("/_payload.json")) {
|
|
451
|
+
if (value.ssr === false) continue;
|
|
450
452
|
if (value.isr || value.cache || value.prerender && nuxt.options.dev) {
|
|
451
453
|
const payloadKey = route + "/_payload.json";
|
|
452
454
|
const defaults = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/nitro-server-nightly",
|
|
3
|
-
"version": "4.4.0-
|
|
3
|
+
"version": "4.4.0-29546548.717c5fbf",
|
|
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
|
"@nuxt/devalue": "^2.0.2",
|
|
30
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.4.0-
|
|
30
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.4.0-29546548.717c5fbf",
|
|
31
31
|
"@unhead/vue": "^2.1.10",
|
|
32
32
|
"@vue/shared": "^3.5.29",
|
|
33
33
|
"consola": "^3.4.2",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"vue-devtools-stub": "^0.1.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"nuxt": "npm:nuxt-nightly@4.4.0-
|
|
58
|
+
"nuxt": "npm:nuxt-nightly@4.4.0-29546548.717c5fbf"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.4.0-
|
|
62
|
-
"nuxt": "npm:nuxt-nightly@4.4.0-
|
|
61
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.4.0-29546548.717c5fbf",
|
|
62
|
+
"nuxt": "npm:nuxt-nightly@4.4.0-29546548.717c5fbf",
|
|
63
63
|
"obuild": "0.4.31",
|
|
64
64
|
"vitest": "4.0.18"
|
|
65
65
|
},
|