@nuxt/bridge-edge 3.0.0-27487491.eb22ce9 → 3.0.0-27487582.3ea39e0
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/module2.mjs +1 -1
- package/dist/chunks/vite.mjs +3 -0
- package/package.json +5 -5
package/dist/chunks/module2.mjs
CHANGED
package/dist/chunks/vite.mjs
CHANGED
|
@@ -222,6 +222,9 @@ const RelativeAssetPlugin = function() {
|
|
|
222
222
|
const publicBase = Array.from({ length: depth + 1 }).map(() => "..").join("/");
|
|
223
223
|
asset.source = asset.source.replace(assetRE, (r) => r.replace(/\/__NUXT_BASE__/g, assetBase)).replace(/\/__NUXT_BASE__/g, publicBase);
|
|
224
224
|
}
|
|
225
|
+
if (asset.type === "chunk" && typeof asset.code === "string") {
|
|
226
|
+
asset.code = asset.code.replace(/`\$\{(_?_?publicAssetsURL|buildAssetsURL|)\(\)\}([^`]*)`/g, "$1(`$2`)").replace(/"\/__NUXT_BASE__\/([^"]*)"\.replace\("\/__NUXT_BASE__", ""\)/g, '"$1"').replace(/'\/__NUXT_BASE__\/([^']*)'\.replace\("\/__NUXT_BASE__", ""\)/g, '"$1"');
|
|
227
|
+
}
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
230
|
};
|
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-27487582.3ea39e0",
|
|
4
4
|
"repository": "nuxt/framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
|
22
22
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
23
23
|
"@babel/plugin-transform-typescript": "^7.16.8",
|
|
24
|
-
"@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-
|
|
25
|
-
"@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-
|
|
24
|
+
"@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-27487582.3ea39e0",
|
|
25
|
+
"@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-27487582.3ea39e0",
|
|
26
26
|
"@nuxt/postcss8": "^1.1.3",
|
|
27
|
-
"@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-
|
|
27
|
+
"@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-27487582.3ea39e0",
|
|
28
28
|
"@vitejs/plugin-legacy": "^1.8.0",
|
|
29
29
|
"@vue/composition-api": "^1.4.9",
|
|
30
30
|
"@vueuse/head": "^0.7.5",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"mlly": "^0.5.1",
|
|
46
46
|
"murmurhash-es": "^0.1.1",
|
|
47
47
|
"node-fetch": "^3.2.3",
|
|
48
|
-
"nuxi": "npm:nuxi-edge@3.0.0-
|
|
48
|
+
"nuxi": "npm:nuxi-edge@3.0.0-27487582.3ea39e0",
|
|
49
49
|
"ohash": "^0.1.0",
|
|
50
50
|
"pathe": "^0.2.0",
|
|
51
51
|
"perfect-debounce": "^0.1.3",
|