@rsbuild/webpack 1.0.1-beta.0 → 1.0.1-beta.2

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.cjs CHANGED
@@ -104,7 +104,7 @@ async function inspectConfig({
104
104
  inspectOptions,
105
105
  pluginManager
106
106
  });
107
- let outputPath = inspectOptions.outputPath || context.distPath;
107
+ let outputPath = inspectOptions.outputPath ? (0, import_node_path.join)(context.distPath, inspectOptions.outputPath) : context.distPath;
108
108
  if (!(0, import_node_path.isAbsolute)(outputPath)) {
109
109
  outputPath = (0, import_node_path.join)(context.rootPath, outputPath);
110
110
  }
package/dist/index.js CHANGED
@@ -46,11 +46,11 @@ var __publicField = (obj, key, value) => {
46
46
  return value;
47
47
  };
48
48
 
49
- // ../../../node_modules/.pnpm/@modern-js+module-tools@2.54.6_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js
49
+ // ../../../node_modules/.pnpm/@modern-js+module-tools@2.55.0_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js
50
50
  import { fileURLToPath } from "url";
51
51
  import path from "path";
52
52
  var init_esm = __esm({
53
- "../../../node_modules/.pnpm/@modern-js+module-tools@2.54.6_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js"() {
53
+ "../../../node_modules/.pnpm/@modern-js+module-tools@2.55.0_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js"() {
54
54
  "use strict";
55
55
  }
56
56
  });
@@ -123,7 +123,7 @@ async function inspectConfig({
123
123
  inspectOptions,
124
124
  pluginManager
125
125
  });
126
- let outputPath = inspectOptions.outputPath || context.distPath;
126
+ let outputPath = inspectOptions.outputPath ? join(context.distPath, inspectOptions.outputPath) : context.distPath;
127
127
  if (!isAbsolute(outputPath)) {
128
128
  outputPath = join(context.rootPath, outputPath);
129
129
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/webpack",
3
- "version": "1.0.1-beta.0",
3
+ "version": "1.0.1-beta.2",
4
4
  "homepage": "https://rsbuild.dev",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,7 +30,7 @@
30
30
  "reduce-configs": "^1.0.0",
31
31
  "tsconfig-paths-webpack-plugin": "4.1.0",
32
32
  "webpack": "^5.93.0",
33
- "@rsbuild/core": "1.0.1-beta.0"
33
+ "@rsbuild/core": "1.0.1-beta.2"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "18.x",
@@ -38,7 +38,7 @@
38
38
  "cli-truncate": "2.1.0",
39
39
  "patch-console": "1.0.0",
40
40
  "typescript": "^5.5.2",
41
- "@scripts/test-helper": "1.0.1-beta.0"
41
+ "@scripts/test-helper": "1.0.1-beta.2"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public",