@rspack-debug/cli 2.0.0-beta.0 → 2.0.0-beta.1

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/131.js +2 -2
  2. package/package.json +4 -4
package/dist/131.js CHANGED
@@ -1113,7 +1113,7 @@ class RspackCLI {
1113
1113
  this.colors = this.createColors();
1114
1114
  this.program = program;
1115
1115
  program.help();
1116
- program.version("2.0.0-beta.0");
1116
+ program.version("2.0.0-beta.1");
1117
1117
  }
1118
1118
  async buildCompilerConfig(options, rspackCommand) {
1119
1119
  let { config, pathMap } = await this.loadConfig(options);
@@ -1186,7 +1186,7 @@ class RspackCLI {
1186
1186
  if (options.watch) item.watch = options.watch;
1187
1187
  if (!item.mode) item.mode = isBuild ? 'production' : 'development';
1188
1188
  if (options.mode) item.mode = options.mode;
1189
- if (void 0 === item.devtool) item.devtool = isBuild ? 'source-map' : 'cheap-module-source-map';
1189
+ if (void 0 === item.devtool) item.devtool = isBuild ? false : 'cheap-module-source-map';
1190
1190
  if (void 0 !== options.devtool) item.devtool = options.devtool;
1191
1191
  if (isServe) {
1192
1192
  const installed = (item.plugins ||= []).find((item)=>item instanceof rspack.ProgressPlugin);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-debug/cli",
3
- "version": "2.0.0-beta.0",
3
+ "version": "2.0.0-beta.1",
4
4
  "description": "CLI for rspack",
5
5
  "homepage": "https://rspack.rs",
6
6
  "bugs": "https://github.com/web-infra-dev/rspack/issues",
@@ -31,7 +31,7 @@
31
31
  "exit-hook": "^4.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@rslib/core": "0.19.3",
34
+ "@rslib/core": "0.19.4",
35
35
  "@rspack/dev-server": "~1.2.1",
36
36
  "cac": "^6.7.14",
37
37
  "concat-stream": "^2.0.0",
@@ -41,8 +41,8 @@
41
41
  "pirates": "^4.0.7",
42
42
  "ts-node": "^10.9.2",
43
43
  "typescript": "^5.9.3",
44
- "@rspack/core": "npm:@rspack-debug/core@2.0.0-beta.0",
45
- "@rspack/test-tools": "npm:@rspack-debug/test-tools@2.0.0-beta.0"
44
+ "@rspack/core": "npm:@rspack-debug/core@2.0.0-beta.1",
45
+ "@rspack/test-tools": "npm:@rspack-debug/test-tools@2.0.0-beta.1"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@rspack/core": "^2.0.0-0",