@nuxt/webpack-builder-nightly 4.6.0-29803612.ea5d49fb → 4.6.0-29809999.0506e6c6

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 +2 -1
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -1646,10 +1646,11 @@ function createRsbuildInstance(configs, nuxt) {
1646
1646
  for (const config of configs) {
1647
1647
  const isServer = config.name === "server";
1648
1648
  if (nuxt.options.dev && !isServer) config.target ??= "web";
1649
+ const distPath = isServer && nuxt.options.dev ? resolve(nuxt.options.buildDir, "dist/.rsbuild-server") : config.output.path;
1649
1650
  environments[config.name] = {
1650
1651
  output: {
1651
1652
  target: isServer ? "node" : "web",
1652
- distPath: { root: config.output.path }
1653
+ distPath: { root: distPath }
1653
1654
  },
1654
1655
  tools: { rspack: () => config }
1655
1656
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/webpack-builder-nightly",
3
- "version": "4.6.0-29803612.ea5d49fb",
3
+ "version": "4.6.0-29809999.0506e6c6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@nuxt/friendly-errors-webpack-plugin": "^2.6.0",
27
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.6.0-29803612.ea5d49fb",
27
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.6.0-29809999.0506e6c6",
28
28
  "@vue/compiler-sfc": "3.5.42",
29
29
  "autoprefixer": "^10.5.4",
30
30
  "css-loader": "^7.1.5",
@@ -65,7 +65,7 @@
65
65
  "webpackbar": "^7.0.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.6.0-29803612.ea5d49fb",
68
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.6.0-29809999.0506e6c6",
69
69
  "@rspack/core": "2.2.1",
70
70
  "@types/hash-sum": "1.0.2",
71
71
  "@types/webpack-bundle-analyzer": "4.7.0",
@@ -77,7 +77,7 @@
77
77
  "vue": "^3.5.42"
78
78
  },
79
79
  "peerDependencies": {
80
- "nuxt": "npm:nuxt-nightly@4.6.0-29803612.ea5d49fb",
80
+ "nuxt": "npm:nuxt-nightly@4.6.0-29809999.0506e6c6",
81
81
  "vue": "^3.3.4"
82
82
  },
83
83
  "engines": {