@nuxt/webpack-builder-nightly 5.0.0-29809859.f0ca99e9 → 5.0.0-29809882.5e9dc0cc

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
@@ -1648,10 +1648,11 @@ function createRsbuildInstance(configs, nuxt) {
1648
1648
  for (const config of configs) {
1649
1649
  const isServer = config.name === "server";
1650
1650
  if (nuxt.options.dev && !isServer) config.target ??= "web";
1651
+ const distPath = isServer && nuxt.options.dev ? resolve(nuxt.options.buildDir, "dist/.rsbuild-server") : config.output.path;
1651
1652
  environments[config.name] = {
1652
1653
  output: {
1653
1654
  target: isServer ? "node" : "web",
1654
- distPath: { root: config.output.path }
1655
+ distPath: { root: distPath }
1655
1656
  },
1656
1657
  tools: { rspack: () => config }
1657
1658
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/webpack-builder-nightly",
3
- "version": "5.0.0-29809859.f0ca99e9",
3
+ "version": "5.0.0-29809882.5e9dc0cc",
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@5.0.0-29809859.f0ca99e9",
27
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29809882.5e9dc0cc",
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@5.0.0-29809859.f0ca99e9",
68
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29809882.5e9dc0cc",
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@5.0.0-29809859.f0ca99e9",
80
+ "nuxt": "npm:nuxt-nightly@5.0.0-29809882.5e9dc0cc",
81
81
  "vue": "^3.3.4"
82
82
  },
83
83
  "engines": {