@nuxt/bridge-edge 3.0.0-27699693.0bb392e → 3.0.0-27700335.6dfc006
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/chunks/module.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import hash from 'hash-sum';
|
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
4
|
import { genImport, genObjectFromRawEntries } from 'knitwork';
|
|
5
5
|
|
|
6
|
-
const version = "3.0.0-
|
|
6
|
+
const version = "3.0.0-27700335.6dfc006";
|
|
7
7
|
|
|
8
8
|
const middlewareTemplate = {
|
|
9
9
|
filename: "middleware.js",
|
package/dist/chunks/vite.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { logger, isIgnored } from '@nuxt/kit';
|
|
|
4
4
|
import { findExports, sanitizeFilePath } from 'mlly';
|
|
5
5
|
import { getPort } from 'get-port-please';
|
|
6
6
|
import { joinURL, withoutLeadingSlash } from 'ufo';
|
|
7
|
-
import { i as isCSS, h as hashId, u as uniq, g as generateDevSSRManifest, d as distDir, p as prepareManifests } from '../shared/bridge-edge.
|
|
7
|
+
import { i as isCSS, h as hashId, u as uniq, g as generateDevSSRManifest, d as distDir, p as prepareManifests } from '../shared/bridge-edge.629ed96d.mjs';
|
|
8
8
|
import { createUnplugin } from 'unplugin';
|
|
9
9
|
import escapeRE from 'escape-string-regexp';
|
|
10
10
|
import MagicString from 'magic-string';
|
package/dist/module.mjs
CHANGED
|
@@ -387,7 +387,7 @@ async function setupNitroBridge() {
|
|
|
387
387
|
if (nuxt.options._export || nuxt.options._legacyGenerate) {
|
|
388
388
|
return;
|
|
389
389
|
}
|
|
390
|
-
const useClassicGeneration = process.argv.includes("--classic") ||
|
|
390
|
+
const useClassicGeneration = process.argv.includes("--classic") || nuxt.options.bridge.nitroGenerator === false;
|
|
391
391
|
if (useClassicGeneration && nuxt.options._generate) {
|
|
392
392
|
const { Generator } = await tryImportModule("@nuxt/generator-edge") || await tryImportModule("@nuxt/generator");
|
|
393
393
|
const generator = new Generator(nuxt);
|
|
@@ -406,12 +406,11 @@ async function setupNitroBridge() {
|
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
});
|
|
409
|
-
nuxt.options.nitro = nuxt.options.nitro || {};
|
|
410
409
|
if (!nuxt.options.dev && nuxt.options._generate) {
|
|
411
410
|
const routes2 = /* @__PURE__ */ new Set();
|
|
412
411
|
nuxt.hook("build:extendRoutes", (pages) => {
|
|
413
412
|
routes2.clear();
|
|
414
|
-
for (const path of
|
|
413
|
+
for (const path of nitro.options.prerender?.routes || []) {
|
|
415
414
|
routes2.add(path);
|
|
416
415
|
}
|
|
417
416
|
const processPages = (pages2, currentPath = "/") => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/bridge-edge",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-27700335.6dfc006",
|
|
4
4
|
"repository": "nuxt/framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"vue-bundle-renderer": "^0.4.2"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@nuxt/bridge": "npm:@nuxt/bridge-edge@3.0.0-
|
|
81
|
+
"@nuxt/bridge": "npm:@nuxt/bridge-edge@3.0.0-27700335.6dfc006",
|
|
82
82
|
"@nuxt/test-utils": "npm:@nuxt/test-utils-edge@latest",
|
|
83
83
|
"@nuxt/types": "^2.15.8",
|
|
84
84
|
"@nuxtjs/eslint-config": "^11.0.0",
|