@nuxt/rspack-builder-nightly 4.3.0-29466587.b5613d25 → 4.3.0-29470213.bdd5155f
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 +3 -11
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import webpackDevMiddleware from "webpack-dev-middleware";
|
|
|
4
4
|
import webpackHotMiddleware from "webpack-hot-middleware";
|
|
5
5
|
import { defu } from "defu";
|
|
6
6
|
import { joinURL, parseURL, withTrailingSlash } from "ufo";
|
|
7
|
-
import { directoryToURL, logger, resolveAlias,
|
|
7
|
+
import { directoryToURL, logger, resolveAlias, useNitro, useNuxt } from "@nuxt/kit";
|
|
8
8
|
import { createUnplugin } from "unplugin";
|
|
9
9
|
import MagicString from "magic-string";
|
|
10
10
|
import { MiniCssExtractPlugin, TsCheckerPlugin, WebpackBarPlugin, builder, webpack } from "#builder";
|
|
@@ -33,7 +33,6 @@ import { normalizeWebpackManifest, precomputeDependencies } from "vue-bundle-ren
|
|
|
33
33
|
import { hash } from "ohash";
|
|
34
34
|
import { serialize } from "seroval";
|
|
35
35
|
import { parseNodeModulePath } from "mlly";
|
|
36
|
-
import { runtimeDependencies } from "nuxt/meta";
|
|
37
36
|
|
|
38
37
|
//#region ../webpack/src/plugins/dynamic-base.ts
|
|
39
38
|
const defaults = {
|
|
@@ -1317,7 +1316,7 @@ function serverPreset(ctx) {
|
|
|
1317
1316
|
};
|
|
1318
1317
|
if (ctx.isDev) ctx.config.output.asyncChunks = false;
|
|
1319
1318
|
}
|
|
1320
|
-
|
|
1319
|
+
function serverStandalone(ctx) {
|
|
1321
1320
|
const inline = [
|
|
1322
1321
|
"src/",
|
|
1323
1322
|
"#app",
|
|
@@ -1331,20 +1330,13 @@ async function serverStandalone(ctx) {
|
|
|
1331
1330
|
"#",
|
|
1332
1331
|
...ctx.options.build.transpile
|
|
1333
1332
|
];
|
|
1334
|
-
const { runtimeDependencies: runtimeNitroDependencies = [] } = await tryImportModule("nitropack/runtime/meta", { url: new URL(import.meta.url) }) || {};
|
|
1335
1333
|
const external = new Set([
|
|
1336
1334
|
"nitro/runtime",
|
|
1337
1335
|
"#internal/nitro",
|
|
1338
1336
|
"nitropack/runtime",
|
|
1339
1337
|
"#shared",
|
|
1340
1338
|
resolve(ctx.nuxt.options.rootDir, ctx.nuxt.options.dir.shared),
|
|
1341
|
-
"
|
|
1342
|
-
"@unhead/vue",
|
|
1343
|
-
"@nuxt/devalue",
|
|
1344
|
-
"rou3",
|
|
1345
|
-
"unstorage",
|
|
1346
|
-
...runtimeDependencies,
|
|
1347
|
-
...runtimeNitroDependencies
|
|
1339
|
+
...ctx.nuxt["~runtimeDependencies"] || []
|
|
1348
1340
|
]);
|
|
1349
1341
|
if (!ctx.nuxt.options.dev) {
|
|
1350
1342
|
external.add("#internal/nuxt/paths");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/rspack-builder-nightly",
|
|
3
|
-
"version": "4.3.0-
|
|
3
|
+
"version": "4.3.0-29470213.bdd5155f",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@nuxt/friendly-errors-webpack-plugin": "^2.6.0",
|
|
28
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-
|
|
28
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-29470213.bdd5155f",
|
|
29
29
|
"@rspack/core": "^1.7.1",
|
|
30
30
|
"@vue/compiler-sfc": "3.5.26",
|
|
31
31
|
"autoprefixer": "^10.4.23",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"webpackbar": "^7.0.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-
|
|
71
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29470213.bdd5155f",
|
|
72
72
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
73
73
|
"@types/webpack-hot-middleware": "2.25.12",
|
|
74
74
|
"h3": "1.15.4",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"vue": "3.5.26"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"nuxt": "npm:nuxt-nightly@4.3.0-
|
|
81
|
+
"nuxt": "npm:nuxt-nightly@4.3.0-29470213.bdd5155f",
|
|
82
82
|
"vue": "^3.3.4"
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|