@nuxt/rspack-builder-nightly 4.0.0-29144650.ca2dff25 → 4.0.0-29145487.7beaa672
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 +12 -2
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -276,6 +276,8 @@ function baseAlias(ctx) {
|
|
|
276
276
|
};
|
|
277
277
|
if (ctx.isClient) {
|
|
278
278
|
ctx.alias["nitro/runtime"] = resolve(ctx.nuxt.options.buildDir, "nitro.client.mjs");
|
|
279
|
+
ctx.alias["#internal/nitro"] = resolve(ctx.nuxt.options.buildDir, "nitro.client.mjs");
|
|
280
|
+
ctx.alias["nitropack/runtime"] = resolve(ctx.nuxt.options.buildDir, "nitro.client.mjs");
|
|
279
281
|
}
|
|
280
282
|
}
|
|
281
283
|
function baseResolve(ctx) {
|
|
@@ -969,6 +971,9 @@ function serverStandalone(ctx) {
|
|
|
969
971
|
];
|
|
970
972
|
const external = /* @__PURE__ */ new Set([
|
|
971
973
|
"nitro/runtime",
|
|
974
|
+
// TODO: remove in v5
|
|
975
|
+
"#internal/nitro",
|
|
976
|
+
"nitropack/runtime",
|
|
972
977
|
"#shared",
|
|
973
978
|
resolve(ctx.nuxt.options.rootDir, ctx.nuxt.options.dir.shared)
|
|
974
979
|
]);
|
|
@@ -1116,8 +1121,13 @@ const bundle = async (nuxt) => {
|
|
|
1116
1121
|
});
|
|
1117
1122
|
const prerenderRollupPlugins = nitro.options._config.rollupConfig.plugins;
|
|
1118
1123
|
const rollupPlugins = nitro.options.rollupConfig.plugins;
|
|
1119
|
-
prerenderRollupPlugins
|
|
1120
|
-
|
|
1124
|
+
for (const plugins of [prerenderRollupPlugins, rollupPlugins]) {
|
|
1125
|
+
const existingPlugin = plugins.findIndex((i) => i && "name" in i && i.name === "dynamic-require");
|
|
1126
|
+
if (existingPlugin >= 0) {
|
|
1127
|
+
plugins.splice(existingPlugin, 1);
|
|
1128
|
+
}
|
|
1129
|
+
plugins.push(dynamicRequirePlugin);
|
|
1130
|
+
}
|
|
1121
1131
|
}
|
|
1122
1132
|
await nuxt.callHook(`${builder}:config`, webpackConfigs);
|
|
1123
1133
|
const mfs = nuxt.options.dev ? createMFS() : null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/rspack-builder-nightly",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-29145487.7beaa672",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@nuxt/friendly-errors-webpack-plugin": "^2.6.0",
|
|
30
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.0.0-
|
|
30
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.0.0-29145487.7beaa672",
|
|
31
31
|
"@rspack/core": "^1.3.13",
|
|
32
32
|
"autoprefixer": "^10.4.21",
|
|
33
33
|
"css-loader": "^7.1.2",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"webpackbar": "^7.0.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.0.0-
|
|
70
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.0.0-29145487.7beaa672",
|
|
71
71
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
72
72
|
"@types/webpack-hot-middleware": "2.25.9",
|
|
73
73
|
"rollup": "4.41.1",
|