@rspack-canary/cli 1.6.0-canary-2ccce257-20251016173648 → 1.6.0-canary-beafb11e-20251018173706
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.js +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -861,7 +861,7 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
861
861
|
if (!compiler || !stats) return;
|
|
862
862
|
const statsOptions = cli.isMultipleCompiler(compiler) ? {
|
|
863
863
|
children: compiler.compilers.map((item)=>item.options ? item.options.stats : void 0)
|
|
864
|
-
} : compiler.options
|
|
864
|
+
} : compiler.options?.stats;
|
|
865
865
|
if (options.json && createJsonStringifyStream) {
|
|
866
866
|
const handleWriteError = (error)=>{
|
|
867
867
|
logger.error(error);
|
|
@@ -1222,10 +1222,9 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
1222
1222
|
this.colors = this.createColors();
|
|
1223
1223
|
this.program = program;
|
|
1224
1224
|
program.help();
|
|
1225
|
-
program.version("1.6.0-canary-
|
|
1225
|
+
program.version("1.6.0-canary-beafb11e-20251018173706");
|
|
1226
1226
|
}
|
|
1227
1227
|
async createCompiler(options, rspackCommand, callback) {
|
|
1228
|
-
process.env.RSPACK_CONFIG_VALIDATE ??= "loose";
|
|
1229
1228
|
let { config, pathMap } = await this.loadConfig(options);
|
|
1230
1229
|
config = await this.buildConfig(config, pathMap, options, rspackCommand);
|
|
1231
1230
|
const isWatch = Array.isArray(config) ? config.some((i)=>i.watch) : config.watch;
|
package/dist/index.mjs
CHANGED
|
@@ -807,7 +807,7 @@ async function runBuild(cli, options) {
|
|
|
807
807
|
if (!compiler || !stats) return;
|
|
808
808
|
const statsOptions = cli.isMultipleCompiler(compiler) ? {
|
|
809
809
|
children: compiler.compilers.map((item)=>item.options ? item.options.stats : void 0)
|
|
810
|
-
} : compiler.options
|
|
810
|
+
} : compiler.options?.stats;
|
|
811
811
|
if (options.json && createJsonStringifyStream) {
|
|
812
812
|
const handleWriteError = (error)=>{
|
|
813
813
|
logger.error(error);
|
|
@@ -1167,10 +1167,9 @@ class RspackCLI {
|
|
|
1167
1167
|
this.colors = this.createColors();
|
|
1168
1168
|
this.program = program;
|
|
1169
1169
|
program.help();
|
|
1170
|
-
program.version("1.6.0-canary-
|
|
1170
|
+
program.version("1.6.0-canary-beafb11e-20251018173706");
|
|
1171
1171
|
}
|
|
1172
1172
|
async createCompiler(options, rspackCommand, callback) {
|
|
1173
|
-
process.env.RSPACK_CONFIG_VALIDATE ??= "loose";
|
|
1174
1173
|
let { config, pathMap } = await this.loadConfig(options);
|
|
1175
1174
|
config = await this.buildConfig(config, pathMap, options, rspackCommand);
|
|
1176
1175
|
const isWatch = Array.isArray(config) ? config.some((i)=>i.watch) : config.watch;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/cli",
|
|
3
|
-
"version": "1.6.0-canary-
|
|
3
|
+
"version": "1.6.0-canary-beafb11e-20251018173706",
|
|
4
4
|
"description": "CLI for rspack",
|
|
5
5
|
"homepage": "https://rspack.rs",
|
|
6
6
|
"bugs": "https://github.com/web-infra-dev/rspack/issues",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"pirates": "^4.0.7",
|
|
45
45
|
"ts-node": "^10.9.2",
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
|
-
"@rspack/
|
|
48
|
-
"@rspack/
|
|
47
|
+
"@rspack/test-tools": "npm:@rspack-canary/test-tools@1.6.0-canary-beafb11e-20251018173706",
|
|
48
|
+
"@rspack/core": "npm:@rspack-canary/core@1.6.0-canary-beafb11e-20251018173706"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@rspack/core": "^1.0.0-alpha || ^1.x"
|