@nuxt/bridge-edge 3.0.0-28071246.239ec24 → 3.0.0-28071266.dab55db
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/vite.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { resolve, join, isAbsolute } from 'pathe';
|
|
|
2
2
|
import { logger, isIgnored } from '@nuxt/kit';
|
|
3
3
|
import { findExports, sanitizeFilePath } from 'mlly';
|
|
4
4
|
import { joinURL, withoutLeadingSlash, withTrailingSlash } from 'ufo';
|
|
5
|
-
import { i as isCSS, p as prepareManifests, h as hashId, u as uniq, g as generateDevSSRManifest, d as distDir, a as pkgDir } from '../shared/bridge-edge.
|
|
5
|
+
import { i as isCSS, p as prepareManifests, h as hashId, u as uniq, g as generateDevSSRManifest, d as distDir, a as pkgDir } from '../shared/bridge-edge.4cd04615.mjs';
|
|
6
6
|
import createVuePlugin from '@vitejs/plugin-vue2';
|
|
7
7
|
import { getPort } from 'get-port-please';
|
|
8
8
|
import { defineEventHandler } from 'h3';
|
package/dist/module.mjs
CHANGED
|
@@ -1342,7 +1342,7 @@ async function prepareManifests(ctx) {
|
|
|
1342
1342
|
await fse.writeFile(rDist("server/index.ssr.html"), SSR_TEMPLATE);
|
|
1343
1343
|
await fse.writeFile(rDist("server/index.spa.html"), SPA_TEMPLATE);
|
|
1344
1344
|
if (ctx.nuxt.options.dev) {
|
|
1345
|
-
await
|
|
1345
|
+
await generateDevSSRManifest(ctx);
|
|
1346
1346
|
} else {
|
|
1347
1347
|
await generateBuildManifest(ctx);
|
|
1348
1348
|
}
|
|
@@ -1407,15 +1407,6 @@ async function generateBuildManifest(ctx) {
|
|
|
1407
1407
|
await writeClientManifest(manifest, ctx.nuxt.options.buildDir);
|
|
1408
1408
|
await fse.remove(rDist("client/manifest.json"));
|
|
1409
1409
|
}
|
|
1410
|
-
async function stubManifest(ctx) {
|
|
1411
|
-
const clientManifest = {
|
|
1412
|
-
"empty.js": {
|
|
1413
|
-
isEntry: true,
|
|
1414
|
-
file: "empty.js"
|
|
1415
|
-
}
|
|
1416
|
-
};
|
|
1417
|
-
await writeClientManifest(normalizeViteManifest(clientManifest), ctx.nuxt.options.buildDir);
|
|
1418
|
-
}
|
|
1419
1410
|
async function generateDevSSRManifest(ctx, css = []) {
|
|
1420
1411
|
const devClientManifest = {
|
|
1421
1412
|
"@vite/client": {
|
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-28071266.dab55db",
|
|
4
4
|
"repository": "nuxt/bridge",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
20
20
|
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
|
|
21
21
|
"@babel/plugin-transform-typescript": "^7.21.3",
|
|
22
|
-
"@nuxt/bridge-schema": "npm:@nuxt/bridge-schema-edge@3.0.0-
|
|
22
|
+
"@nuxt/bridge-schema": "npm:@nuxt/bridge-schema-edge@3.0.0-28071266.dab55db",
|
|
23
23
|
"@nuxt/devalue": "^2.0.2",
|
|
24
|
-
"@nuxt/kit": "3.
|
|
24
|
+
"@nuxt/kit": "3.5.0",
|
|
25
25
|
"@nuxt/postcss8": "^1.1.3",
|
|
26
|
-
"@nuxt/schema": "3.
|
|
26
|
+
"@nuxt/schema": "3.5.0",
|
|
27
27
|
"@nuxt/ui-templates": "^1.1.1",
|
|
28
28
|
"@vitejs/plugin-legacy": "^4.0.3",
|
|
29
29
|
"@vitejs/plugin-vue2": "^2.2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"mlly": "^1.2.1",
|
|
46
46
|
"nitropack": "^2.4.0",
|
|
47
47
|
"node-fetch": "^3.3.1",
|
|
48
|
-
"nuxi": "3.
|
|
48
|
+
"nuxi": "3.5.0",
|
|
49
49
|
"ofetch": "^1.0.1",
|
|
50
50
|
"ohash": "^1.1.2",
|
|
51
51
|
"pathe": "^1.1.0",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"scule": "^1.0.0",
|
|
59
59
|
"semver": "^7.5.1",
|
|
60
60
|
"std-env": "^3.3.3",
|
|
61
|
-
"terser": "^5.17.
|
|
61
|
+
"terser": "^5.17.4",
|
|
62
62
|
"ufo": "^1.1.2",
|
|
63
63
|
"unctx": "^2.3.0",
|
|
64
64
|
"unimport": "^3.0.6",
|
|
65
65
|
"unplugin": "^1.3.1",
|
|
66
66
|
"untyped": "^1.3.2",
|
|
67
|
-
"vite": "~4.3.
|
|
67
|
+
"vite": "~4.3.7",
|
|
68
68
|
"vue-bundle-renderer": "^1.0.3"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|