@nuxt/bridge-edge 3.0.0-27445576.02e683d → 3.0.0-27446027.e12d2e9
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 +12 -2
- package/dist/chunks/module2.mjs +1 -1
- package/package.json +5 -5
package/dist/chunks/module.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire } from 'module';
|
|
2
|
-
import { useNuxt, addPluginTemplate, resolveModule, addTemplate, resolveAlias, addVitePlugin, addWebpackPlugin,
|
|
2
|
+
import { useNuxt, addPluginTemplate, resolveModule, extendWebpackConfig, addTemplate, resolveAlias, addVitePlugin, addWebpackPlugin, resolveFiles, defineNuxtModule, installModule, isNuxt3, addPlugin, nuxtCtx, checkNuxtCompatibility } from '@nuxt/kit';
|
|
3
3
|
import fs, { existsSync, readdirSync, statSync, promises } from 'fs';
|
|
4
4
|
import fetch from 'node-fetch';
|
|
5
5
|
import fse from 'fs-extra';
|
|
@@ -400,8 +400,18 @@ function setupAppBridge(_options) {
|
|
|
400
400
|
builder.bundleBuilder.build = () => Promise.resolve(builder.bundleBuilder);
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
|
-
|
|
403
|
+
const vue2ESM = resolveModule("vue/dist/vue.runtime.esm.js", { paths: nuxt.options.modulesDir });
|
|
404
|
+
const vue2CJS = resolveModule("vue/dist/vue.runtime.common.js", { paths: nuxt.options.modulesDir });
|
|
405
|
+
nuxt.options.alias.vue2 = vue2ESM;
|
|
404
406
|
nuxt.options.build.transpile.push("vue");
|
|
407
|
+
extendWebpackConfig((config) => {
|
|
408
|
+
config.resolve.alias.vue2 = vue2CJS;
|
|
409
|
+
}, { client: false });
|
|
410
|
+
nuxt.hook("vite:extendConfig", (config, { isServer }) => {
|
|
411
|
+
if (isServer && !nuxt.options.dev) {
|
|
412
|
+
config.resolve.alias.vue2 = vue2CJS;
|
|
413
|
+
}
|
|
414
|
+
});
|
|
405
415
|
nuxt.options.fetch.server = false;
|
|
406
416
|
nuxt.options.fetch.client = false;
|
|
407
417
|
const components = [];
|
package/dist/chunks/module2.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-27446027.e12d2e9";
|
|
7
7
|
|
|
8
8
|
const middlewareTemplate = {
|
|
9
9
|
filename: "middleware.js",
|
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-27446027.e12d2e9",
|
|
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-27446027.e12d2e9",
|
|
25
|
+
"@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-27446027.e12d2e9",
|
|
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-27446027.e12d2e9",
|
|
28
28
|
"@vitejs/plugin-legacy": "^1.6.4",
|
|
29
29
|
"@vue/composition-api": "^1.4.6",
|
|
30
30
|
"@vueuse/head": "^0.7.5",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"mlly": "^0.4.2",
|
|
46
46
|
"murmurhash-es": "^0.1.1",
|
|
47
47
|
"node-fetch": "^3.2.0",
|
|
48
|
-
"nuxi": "npm:nuxi-edge@3.0.0-
|
|
48
|
+
"nuxi": "npm:nuxi-edge@3.0.0-27446027.e12d2e9",
|
|
49
49
|
"p-debounce": "^4.0.0",
|
|
50
50
|
"pathe": "^0.2.0",
|
|
51
51
|
"postcss": "^8",
|