@nuxt/webpack-builder-nightly 4.3.0-29466587.b5613d25 → 4.3.0-29466680.0598aa0b

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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -11
  2. 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, tryImportModule, useNitro, useNuxt } from "@nuxt/kit";
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 webpack from "webpack";
@@ -36,7 +36,6 @@ import { normalizeWebpackManifest, precomputeDependencies } from "vue-bundle-ren
36
36
  import { hash } from "ohash";
37
37
  import { serialize } from "seroval";
38
38
  import { parseNodeModulePath } from "mlly";
39
- import { runtimeDependencies } from "nuxt/meta";
40
39
 
41
40
  //#region src/plugins/dynamic-base.ts
42
41
  const defaults = {
@@ -1324,7 +1323,7 @@ function serverPreset(ctx) {
1324
1323
  };
1325
1324
  if (ctx.isDev) ctx.config.output.asyncChunks = false;
1326
1325
  }
1327
- async function serverStandalone(ctx) {
1326
+ function serverStandalone(ctx) {
1328
1327
  const inline = [
1329
1328
  "src/",
1330
1329
  "#app",
@@ -1338,20 +1337,13 @@ async function serverStandalone(ctx) {
1338
1337
  "#",
1339
1338
  ...ctx.options.build.transpile
1340
1339
  ];
1341
- const { runtimeDependencies: runtimeNitroDependencies = [] } = await tryImportModule("nitropack/runtime/meta", { url: new URL(import.meta.url) }) || {};
1342
1340
  const external = new Set([
1343
1341
  "nitro/runtime",
1344
1342
  "#internal/nitro",
1345
1343
  "nitropack/runtime",
1346
1344
  "#shared",
1347
1345
  resolve(ctx.nuxt.options.rootDir, ctx.nuxt.options.dir.shared),
1348
- "unhead",
1349
- "@unhead/vue",
1350
- "@nuxt/devalue",
1351
- "rou3",
1352
- "unstorage",
1353
- ...runtimeDependencies,
1354
- ...runtimeNitroDependencies
1346
+ ...ctx.nuxt["~runtimeDependencies"] || []
1355
1347
  ]);
1356
1348
  if (!ctx.nuxt.options.dev) {
1357
1349
  external.add("#internal/nuxt/paths");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/webpack-builder-nightly",
3
- "version": "4.3.0-29466587.b5613d25",
3
+ "version": "4.3.0-29466680.0598aa0b",
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-29466587.b5613d25",
28
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-29466680.0598aa0b",
29
29
  "@vue/compiler-sfc": "3.5.26",
30
30
  "autoprefixer": "^10.4.23",
31
31
  "css-loader": "^7.1.2",
@@ -69,7 +69,7 @@
69
69
  "webpackbar": "^7.0.0"
70
70
  },
71
71
  "devDependencies": {
72
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29466587.b5613d25",
72
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29466680.0598aa0b",
73
73
  "@rspack/core": "1.7.1",
74
74
  "@types/webpack-bundle-analyzer": "4.7.0",
75
75
  "@types/webpack-hot-middleware": "2.25.12",
@@ -80,7 +80,7 @@
80
80
  "vue": "3.5.26"
81
81
  },
82
82
  "peerDependencies": {
83
- "nuxt": "npm:nuxt-nightly@4.3.0-29466587.b5613d25",
83
+ "nuxt": "npm:nuxt-nightly@4.3.0-29466680.0598aa0b",
84
84
  "vue": "^3.3.4"
85
85
  },
86
86
  "engines": {