nuxt-nightly 4.2.0-29355117.904d4f6e → 4.2.0-29355133.7db30a63
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 +31 -22
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -3831,7 +3831,7 @@ function addDeclarationTemplates(ctx, options) {
|
|
|
3831
3831
|
});
|
|
3832
3832
|
}
|
|
3833
3833
|
|
|
3834
|
-
const version = "4.2.0-
|
|
3834
|
+
const version = "4.2.0-29355133.7db30a63";
|
|
3835
3835
|
|
|
3836
3836
|
function createImportProtectionPatterns(nuxt, options) {
|
|
3837
3837
|
const patterns = [];
|
|
@@ -4654,10 +4654,7 @@ function ResolveExternalsPlugin(nuxt) {
|
|
|
4654
4654
|
return {
|
|
4655
4655
|
name: "nuxt:resolve-externals",
|
|
4656
4656
|
enforce: "pre",
|
|
4657
|
-
async
|
|
4658
|
-
if (nuxt.options.dev || environment.name !== "ssr") {
|
|
4659
|
-
return false;
|
|
4660
|
-
}
|
|
4657
|
+
async config() {
|
|
4661
4658
|
const { runtimeDependencies: runtimeNitroDependencies = [] } = await tryImportModule("nitropack/runtime/meta", {
|
|
4662
4659
|
url: new URL(import.meta.url)
|
|
4663
4660
|
}) || {};
|
|
@@ -4674,26 +4671,38 @@ function ResolveExternalsPlugin(nuxt) {
|
|
|
4674
4671
|
// dependencies we might share with nitro - these can be inlined (if necessary) in the nitro build
|
|
4675
4672
|
...runtimeNitroDependencies
|
|
4676
4673
|
]);
|
|
4677
|
-
return
|
|
4674
|
+
return {
|
|
4675
|
+
optimizeDeps: {
|
|
4676
|
+
exclude: Array.from(external)
|
|
4677
|
+
}
|
|
4678
|
+
};
|
|
4678
4679
|
},
|
|
4679
|
-
|
|
4680
|
-
if (
|
|
4681
|
-
return;
|
|
4680
|
+
applyToEnvironment(environment) {
|
|
4681
|
+
if (nuxt.options.dev || environment.name !== "ssr") {
|
|
4682
|
+
return false;
|
|
4682
4683
|
}
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4684
|
+
return {
|
|
4685
|
+
name: "nuxt:resolve-externals:external",
|
|
4686
|
+
async resolveId(id, importer) {
|
|
4687
|
+
if (!external.has(id)) {
|
|
4688
|
+
return;
|
|
4689
|
+
}
|
|
4690
|
+
const res = await this.resolve?.(id, importer, { skipSelf: true });
|
|
4691
|
+
if (res !== void 0 && res !== null) {
|
|
4692
|
+
if (res.id === id) {
|
|
4693
|
+
res.id = resolveModulePath(res.id, {
|
|
4694
|
+
try: true,
|
|
4695
|
+
from: importer,
|
|
4696
|
+
extensions: nuxt.options.extensions
|
|
4697
|
+
}) || res.id;
|
|
4698
|
+
}
|
|
4699
|
+
return {
|
|
4700
|
+
...res,
|
|
4701
|
+
external: "absolute"
|
|
4702
|
+
};
|
|
4703
|
+
}
|
|
4691
4704
|
}
|
|
4692
|
-
|
|
4693
|
-
...res,
|
|
4694
|
-
external: "absolute"
|
|
4695
|
-
};
|
|
4696
|
-
}
|
|
4705
|
+
};
|
|
4697
4706
|
}
|
|
4698
4707
|
};
|
|
4699
4708
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-nightly",
|
|
3
|
-
"version": "4.2.0-
|
|
3
|
+
"version": "4.2.0-29355133.7db30a63",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"@dxup/nuxt": "^0.2.0",
|
|
68
68
|
"@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
|
|
69
69
|
"@nuxt/devtools": "^2.6.5",
|
|
70
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.0-
|
|
71
|
-
"@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.2.0-
|
|
72
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-
|
|
70
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.0-29355133.7db30a63",
|
|
71
|
+
"@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.2.0-29355133.7db30a63",
|
|
72
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-29355133.7db30a63",
|
|
73
73
|
"@nuxt/telemetry": "^2.6.6",
|
|
74
|
-
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.0-
|
|
74
|
+
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.0-29355133.7db30a63",
|
|
75
75
|
"@unhead/vue": "^2.0.19",
|
|
76
76
|
"@vue/shared": "^3.5.22",
|
|
77
77
|
"c12": "^3.3.1",
|