@lynx-js/rspeedy-canary 0.11.6-canary-20251011-85a8b583 → 0.11.6-canary-20251012-dd7c14a8
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/CHANGELOG.md +3 -1
- package/dist/0~src_config_validate_ts.js +24 -24
- package/dist/0~src_plugins_dev_plugin_ts.js +2 -2
- package/dist/1~src_cli_build_ts.js +2 -0
- package/dist/1~src_cli_dev_ts.js +2 -0
- package/dist/1~src_cli_inspect_ts.js +2 -0
- package/dist/1~src_cli_preview_ts.js +2 -0
- package/dist/1~src_config_validate_ts.js +24 -24
- package/dist/1~src_plugins_dev_plugin_ts.js +2 -2
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
-
## 0.11.6-canary-
|
|
3
|
+
## 0.11.6-canary-20251012050336-dd7c14a838a10804949a953d0f5b54f34ba7cc67
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- Should apply `dev.hmr` and `dev.liveReload` to Rsbuild config. ([#1882](https://github.com/lynx-family/lynx-stack/pull/1882))
|
|
8
|
+
|
|
7
9
|
- Support CLI flag `--root` to specify the root of the project. ([#1836](https://github.com/lynx-family/lynx-stack/pull/1836))
|
|
8
10
|
|
|
9
11
|
## 0.11.5
|
|
@@ -1494,9 +1494,9 @@ export const __webpack_modules__ = {
|
|
|
1494
1494
|
if (void 0 === value) return true;
|
|
1495
1495
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1496
1496
|
});
|
|
1497
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1497
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6827"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1498
1498
|
if ([
|
|
1499
|
-
"__@toStringTag@
|
|
1499
|
+
"__@toStringTag@6827"
|
|
1500
1500
|
].some((prop)=>key === prop)) return true;
|
|
1501
1501
|
const value = input[key];
|
|
1502
1502
|
if (void 0 === value) return true;
|
|
@@ -3105,14 +3105,14 @@ export const __webpack_modules__ = {
|
|
|
3105
3105
|
if (void 0 === value) return true;
|
|
3106
3106
|
return false;
|
|
3107
3107
|
})));
|
|
3108
|
-
const _io149 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@
|
|
3108
|
+
const _io149 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@6827"] && Object.keys(input).every((key)=>{
|
|
3109
3109
|
if ([
|
|
3110
3110
|
"BYTES_PER_ELEMENT",
|
|
3111
3111
|
"buffer",
|
|
3112
3112
|
"byteLength",
|
|
3113
3113
|
"byteOffset",
|
|
3114
3114
|
"length",
|
|
3115
|
-
"__@toStringTag@
|
|
3115
|
+
"__@toStringTag@6827"
|
|
3116
3116
|
].some((prop)=>key === prop)) return true;
|
|
3117
3117
|
const value = input[key];
|
|
3118
3118
|
if (void 0 === value) return true;
|
|
@@ -6392,9 +6392,9 @@ export const __webpack_modules__ = {
|
|
|
6392
6392
|
if (void 0 === value) return true;
|
|
6393
6393
|
return false;
|
|
6394
6394
|
}));
|
|
6395
|
-
const _io408 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6395
|
+
const _io408 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6827"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6396
6396
|
if ([
|
|
6397
|
-
"__@toStringTag@
|
|
6397
|
+
"__@toStringTag@6827"
|
|
6398
6398
|
].some((prop)=>key === prop)) return true;
|
|
6399
6399
|
const value = input[key];
|
|
6400
6400
|
if (void 0 === value) return true;
|
|
@@ -7147,18 +7147,18 @@ export const __webpack_modules__ = {
|
|
|
7147
7147
|
return false;
|
|
7148
7148
|
})();
|
|
7149
7149
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7150
|
-
if (void 0 !== input["__@toStringTag@
|
|
7150
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _io149(input, _exceptionable);
|
|
7151
7151
|
if (void 0 !== input.pem) return _io150(input, _exceptionable);
|
|
7152
7152
|
return false;
|
|
7153
7153
|
})();
|
|
7154
7154
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7155
|
-
if (void 0 !== input["__@toStringTag@
|
|
7155
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _io149(input, _exceptionable);
|
|
7156
7156
|
if (void 0 !== input.buf) return _io151(input, _exceptionable);
|
|
7157
7157
|
return false;
|
|
7158
7158
|
})();
|
|
7159
7159
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7160
7160
|
if (void 0 !== input.name) return _io407(input, _exceptionable);
|
|
7161
|
-
if (void 0 !== input["__@toStringTag@
|
|
7161
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _io408(input, _exceptionable);
|
|
7162
7162
|
return false;
|
|
7163
7163
|
})();
|
|
7164
7164
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9774,14 +9774,14 @@ export const __webpack_modules__ = {
|
|
|
9774
9774
|
}).every((flag)=>flag)
|
|
9775
9775
|
].every((flag)=>flag);
|
|
9776
9776
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9777
|
-
"string" == typeof input["__@toStringTag@
|
|
9778
|
-
path: _path + "[\"__@toStringTag@
|
|
9777
|
+
"string" == typeof input["__@toStringTag@6827"] || _report(_exceptionable, {
|
|
9778
|
+
path: _path + "[\"__@toStringTag@6827\"]",
|
|
9779
9779
|
expected: "string",
|
|
9780
|
-
value: input["__@toStringTag@
|
|
9780
|
+
value: input["__@toStringTag@6827"]
|
|
9781
9781
|
}),
|
|
9782
9782
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9783
9783
|
if ([
|
|
9784
|
-
"__@toStringTag@
|
|
9784
|
+
"__@toStringTag@6827"
|
|
9785
9785
|
].some((prop)=>key === prop)) return true;
|
|
9786
9786
|
const value = input[key];
|
|
9787
9787
|
if (void 0 === value) return true;
|
|
@@ -18801,10 +18801,10 @@ export const __webpack_modules__ = {
|
|
|
18801
18801
|
expected: "number",
|
|
18802
18802
|
value: input.length
|
|
18803
18803
|
}),
|
|
18804
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18805
|
-
path: _path + "[\"__@toStringTag@
|
|
18804
|
+
"Uint8Array" === input["__@toStringTag@6827"] || _report(_exceptionable, {
|
|
18805
|
+
path: _path + "[\"__@toStringTag@6827\"]",
|
|
18806
18806
|
expected: "\"Uint8Array\"",
|
|
18807
|
-
value: input["__@toStringTag@
|
|
18807
|
+
value: input["__@toStringTag@6827"]
|
|
18808
18808
|
}),
|
|
18809
18809
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18810
18810
|
if ([
|
|
@@ -18813,7 +18813,7 @@ export const __webpack_modules__ = {
|
|
|
18813
18813
|
"byteLength",
|
|
18814
18814
|
"byteOffset",
|
|
18815
18815
|
"length",
|
|
18816
|
-
"__@toStringTag@
|
|
18816
|
+
"__@toStringTag@6827"
|
|
18817
18817
|
].some((prop)=>key === prop)) return true;
|
|
18818
18818
|
const value = input[key];
|
|
18819
18819
|
if (void 0 === value) return true;
|
|
@@ -37042,14 +37042,14 @@ export const __webpack_modules__ = {
|
|
|
37042
37042
|
}).every((flag)=>flag)
|
|
37043
37043
|
].every((flag)=>flag);
|
|
37044
37044
|
const _vo408 = (input, _path, _exceptionable = true)=>[
|
|
37045
|
-
"string" == typeof input["__@toStringTag@
|
|
37046
|
-
path: _path + "[\"__@toStringTag@
|
|
37045
|
+
"string" == typeof input["__@toStringTag@6827"] || _report(_exceptionable, {
|
|
37046
|
+
path: _path + "[\"__@toStringTag@6827\"]",
|
|
37047
37047
|
expected: "string",
|
|
37048
|
-
value: input["__@toStringTag@
|
|
37048
|
+
value: input["__@toStringTag@6827"]
|
|
37049
37049
|
}),
|
|
37050
37050
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
37051
37051
|
if ([
|
|
37052
|
-
"__@toStringTag@
|
|
37052
|
+
"__@toStringTag@6827"
|
|
37053
37053
|
].some((prop)=>key === prop)) return true;
|
|
37054
37054
|
const value = input[key];
|
|
37055
37055
|
if (void 0 === value) return true;
|
|
@@ -40930,7 +40930,7 @@ export const __webpack_modules__ = {
|
|
|
40930
40930
|
});
|
|
40931
40931
|
})();
|
|
40932
40932
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40933
|
-
if (void 0 !== input["__@toStringTag@
|
|
40933
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _vo149(input, _path, _exceptionable);
|
|
40934
40934
|
if (void 0 !== input.pem) return _vo150(input, _path, _exceptionable);
|
|
40935
40935
|
return _report(_exceptionable, {
|
|
40936
40936
|
path: _path,
|
|
@@ -40939,7 +40939,7 @@ export const __webpack_modules__ = {
|
|
|
40939
40939
|
});
|
|
40940
40940
|
})();
|
|
40941
40941
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40942
|
-
if (void 0 !== input["__@toStringTag@
|
|
40942
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _vo149(input, _path, _exceptionable);
|
|
40943
40943
|
if (void 0 !== input.buf) return _vo151(input, _path, _exceptionable);
|
|
40944
40944
|
return _report(_exceptionable, {
|
|
40945
40945
|
path: _path,
|
|
@@ -40949,7 +40949,7 @@ export const __webpack_modules__ = {
|
|
|
40949
40949
|
})();
|
|
40950
40950
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40951
40951
|
if (void 0 !== input.name) return _vo407(input, _path, _exceptionable);
|
|
40952
|
-
if (void 0 !== input["__@toStringTag@
|
|
40952
|
+
if (void 0 !== input["__@toStringTag@6827"]) return _vo408(input, _path, _exceptionable);
|
|
40953
40953
|
return _report(_exceptionable, {
|
|
40954
40954
|
path: _path,
|
|
40955
40955
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
|
@@ -81,8 +81,8 @@ export const __webpack_modules__ = {
|
|
|
81
81
|
hostname,
|
|
82
82
|
port: api.context.devServer?.port?.toString() ?? '',
|
|
83
83
|
pathname: '/rsbuild-hmr',
|
|
84
|
-
hot:
|
|
85
|
-
'live-reload':
|
|
84
|
+
hot: environment.config.dev?.hmr ?? true ? 'true' : 'false',
|
|
85
|
+
'live-reload': environment.config.dev?.liveReload ?? true ? 'true' : 'false',
|
|
86
86
|
protocol: 'ws'
|
|
87
87
|
});
|
|
88
88
|
if (environment.webSocketToken) searchParams.set('token', environment.webSocketToken);
|
|
@@ -303,7 +303,9 @@ export const __webpack_modules__ = {
|
|
|
303
303
|
function toRsbuildConfig(config) {
|
|
304
304
|
return {
|
|
305
305
|
dev: {
|
|
306
|
+
hmr: config.dev?.hmr ?? true,
|
|
306
307
|
lazyCompilation: false,
|
|
308
|
+
liveReload: config.dev?.liveReload ?? true,
|
|
307
309
|
watchFiles: config.dev?.watchFiles,
|
|
308
310
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
309
311
|
progressBar: config.dev?.progressBar ?? true
|
package/dist/1~src_cli_dev_ts.js
CHANGED
|
@@ -295,7 +295,9 @@ export const __webpack_modules__ = {
|
|
|
295
295
|
function toRsbuildConfig(config) {
|
|
296
296
|
return {
|
|
297
297
|
dev: {
|
|
298
|
+
hmr: config.dev?.hmr ?? true,
|
|
298
299
|
lazyCompilation: false,
|
|
300
|
+
liveReload: config.dev?.liveReload ?? true,
|
|
299
301
|
watchFiles: config.dev?.watchFiles,
|
|
300
302
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
301
303
|
progressBar: config.dev?.progressBar ?? true
|
|
@@ -241,7 +241,9 @@ export const __webpack_modules__ = {
|
|
|
241
241
|
function toRsbuildConfig(config) {
|
|
242
242
|
return {
|
|
243
243
|
dev: {
|
|
244
|
+
hmr: config.dev?.hmr ?? true,
|
|
244
245
|
lazyCompilation: false,
|
|
246
|
+
liveReload: config.dev?.liveReload ?? true,
|
|
245
247
|
watchFiles: config.dev?.watchFiles,
|
|
246
248
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
247
249
|
progressBar: config.dev?.progressBar ?? true
|
|
@@ -243,7 +243,9 @@ export const __webpack_modules__ = {
|
|
|
243
243
|
function toRsbuildConfig(config) {
|
|
244
244
|
return {
|
|
245
245
|
dev: {
|
|
246
|
+
hmr: config.dev?.hmr ?? true,
|
|
246
247
|
lazyCompilation: false,
|
|
248
|
+
liveReload: config.dev?.liveReload ?? true,
|
|
247
249
|
watchFiles: config.dev?.watchFiles,
|
|
248
250
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
249
251
|
progressBar: config.dev?.progressBar ?? true
|
|
@@ -1494,9 +1494,9 @@ export const __webpack_modules__ = {
|
|
|
1494
1494
|
if (void 0 === value) return true;
|
|
1495
1495
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1496
1496
|
});
|
|
1497
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1497
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@926"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1498
1498
|
if ([
|
|
1499
|
-
"__@toStringTag@
|
|
1499
|
+
"__@toStringTag@926"
|
|
1500
1500
|
].some((prop)=>key === prop)) return true;
|
|
1501
1501
|
const value = input[key];
|
|
1502
1502
|
if (void 0 === value) return true;
|
|
@@ -3105,14 +3105,14 @@ export const __webpack_modules__ = {
|
|
|
3105
3105
|
if (void 0 === value) return true;
|
|
3106
3106
|
return false;
|
|
3107
3107
|
})));
|
|
3108
|
-
const _io149 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@
|
|
3108
|
+
const _io149 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@926"] && Object.keys(input).every((key)=>{
|
|
3109
3109
|
if ([
|
|
3110
3110
|
"BYTES_PER_ELEMENT",
|
|
3111
3111
|
"buffer",
|
|
3112
3112
|
"byteLength",
|
|
3113
3113
|
"byteOffset",
|
|
3114
3114
|
"length",
|
|
3115
|
-
"__@toStringTag@
|
|
3115
|
+
"__@toStringTag@926"
|
|
3116
3116
|
].some((prop)=>key === prop)) return true;
|
|
3117
3117
|
const value = input[key];
|
|
3118
3118
|
if (void 0 === value) return true;
|
|
@@ -6392,9 +6392,9 @@ export const __webpack_modules__ = {
|
|
|
6392
6392
|
if (void 0 === value) return true;
|
|
6393
6393
|
return false;
|
|
6394
6394
|
}));
|
|
6395
|
-
const _io408 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6395
|
+
const _io408 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@926"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6396
6396
|
if ([
|
|
6397
|
-
"__@toStringTag@
|
|
6397
|
+
"__@toStringTag@926"
|
|
6398
6398
|
].some((prop)=>key === prop)) return true;
|
|
6399
6399
|
const value = input[key];
|
|
6400
6400
|
if (void 0 === value) return true;
|
|
@@ -7147,18 +7147,18 @@ export const __webpack_modules__ = {
|
|
|
7147
7147
|
return false;
|
|
7148
7148
|
})();
|
|
7149
7149
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7150
|
-
if (void 0 !== input["__@toStringTag@
|
|
7150
|
+
if (void 0 !== input["__@toStringTag@926"]) return _io149(input, _exceptionable);
|
|
7151
7151
|
if (void 0 !== input.pem) return _io150(input, _exceptionable);
|
|
7152
7152
|
return false;
|
|
7153
7153
|
})();
|
|
7154
7154
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7155
|
-
if (void 0 !== input["__@toStringTag@
|
|
7155
|
+
if (void 0 !== input["__@toStringTag@926"]) return _io149(input, _exceptionable);
|
|
7156
7156
|
if (void 0 !== input.buf) return _io151(input, _exceptionable);
|
|
7157
7157
|
return false;
|
|
7158
7158
|
})();
|
|
7159
7159
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7160
7160
|
if (void 0 !== input.name) return _io407(input, _exceptionable);
|
|
7161
|
-
if (void 0 !== input["__@toStringTag@
|
|
7161
|
+
if (void 0 !== input["__@toStringTag@926"]) return _io408(input, _exceptionable);
|
|
7162
7162
|
return false;
|
|
7163
7163
|
})();
|
|
7164
7164
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9774,14 +9774,14 @@ export const __webpack_modules__ = {
|
|
|
9774
9774
|
}).every((flag)=>flag)
|
|
9775
9775
|
].every((flag)=>flag);
|
|
9776
9776
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9777
|
-
"string" == typeof input["__@toStringTag@
|
|
9778
|
-
path: _path + "[\"__@toStringTag@
|
|
9777
|
+
"string" == typeof input["__@toStringTag@926"] || _report(_exceptionable, {
|
|
9778
|
+
path: _path + "[\"__@toStringTag@926\"]",
|
|
9779
9779
|
expected: "string",
|
|
9780
|
-
value: input["__@toStringTag@
|
|
9780
|
+
value: input["__@toStringTag@926"]
|
|
9781
9781
|
}),
|
|
9782
9782
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9783
9783
|
if ([
|
|
9784
|
-
"__@toStringTag@
|
|
9784
|
+
"__@toStringTag@926"
|
|
9785
9785
|
].some((prop)=>key === prop)) return true;
|
|
9786
9786
|
const value = input[key];
|
|
9787
9787
|
if (void 0 === value) return true;
|
|
@@ -18801,10 +18801,10 @@ export const __webpack_modules__ = {
|
|
|
18801
18801
|
expected: "number",
|
|
18802
18802
|
value: input.length
|
|
18803
18803
|
}),
|
|
18804
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18805
|
-
path: _path + "[\"__@toStringTag@
|
|
18804
|
+
"Uint8Array" === input["__@toStringTag@926"] || _report(_exceptionable, {
|
|
18805
|
+
path: _path + "[\"__@toStringTag@926\"]",
|
|
18806
18806
|
expected: "\"Uint8Array\"",
|
|
18807
|
-
value: input["__@toStringTag@
|
|
18807
|
+
value: input["__@toStringTag@926"]
|
|
18808
18808
|
}),
|
|
18809
18809
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18810
18810
|
if ([
|
|
@@ -18813,7 +18813,7 @@ export const __webpack_modules__ = {
|
|
|
18813
18813
|
"byteLength",
|
|
18814
18814
|
"byteOffset",
|
|
18815
18815
|
"length",
|
|
18816
|
-
"__@toStringTag@
|
|
18816
|
+
"__@toStringTag@926"
|
|
18817
18817
|
].some((prop)=>key === prop)) return true;
|
|
18818
18818
|
const value = input[key];
|
|
18819
18819
|
if (void 0 === value) return true;
|
|
@@ -37042,14 +37042,14 @@ export const __webpack_modules__ = {
|
|
|
37042
37042
|
}).every((flag)=>flag)
|
|
37043
37043
|
].every((flag)=>flag);
|
|
37044
37044
|
const _vo408 = (input, _path, _exceptionable = true)=>[
|
|
37045
|
-
"string" == typeof input["__@toStringTag@
|
|
37046
|
-
path: _path + "[\"__@toStringTag@
|
|
37045
|
+
"string" == typeof input["__@toStringTag@926"] || _report(_exceptionable, {
|
|
37046
|
+
path: _path + "[\"__@toStringTag@926\"]",
|
|
37047
37047
|
expected: "string",
|
|
37048
|
-
value: input["__@toStringTag@
|
|
37048
|
+
value: input["__@toStringTag@926"]
|
|
37049
37049
|
}),
|
|
37050
37050
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
37051
37051
|
if ([
|
|
37052
|
-
"__@toStringTag@
|
|
37052
|
+
"__@toStringTag@926"
|
|
37053
37053
|
].some((prop)=>key === prop)) return true;
|
|
37054
37054
|
const value = input[key];
|
|
37055
37055
|
if (void 0 === value) return true;
|
|
@@ -40930,7 +40930,7 @@ export const __webpack_modules__ = {
|
|
|
40930
40930
|
});
|
|
40931
40931
|
})();
|
|
40932
40932
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40933
|
-
if (void 0 !== input["__@toStringTag@
|
|
40933
|
+
if (void 0 !== input["__@toStringTag@926"]) return _vo149(input, _path, _exceptionable);
|
|
40934
40934
|
if (void 0 !== input.pem) return _vo150(input, _path, _exceptionable);
|
|
40935
40935
|
return _report(_exceptionable, {
|
|
40936
40936
|
path: _path,
|
|
@@ -40939,7 +40939,7 @@ export const __webpack_modules__ = {
|
|
|
40939
40939
|
});
|
|
40940
40940
|
})();
|
|
40941
40941
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40942
|
-
if (void 0 !== input["__@toStringTag@
|
|
40942
|
+
if (void 0 !== input["__@toStringTag@926"]) return _vo149(input, _path, _exceptionable);
|
|
40943
40943
|
if (void 0 !== input.buf) return _vo151(input, _path, _exceptionable);
|
|
40944
40944
|
return _report(_exceptionable, {
|
|
40945
40945
|
path: _path,
|
|
@@ -40949,7 +40949,7 @@ export const __webpack_modules__ = {
|
|
|
40949
40949
|
})();
|
|
40950
40950
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40951
40951
|
if (void 0 !== input.name) return _vo407(input, _path, _exceptionable);
|
|
40952
|
-
if (void 0 !== input["__@toStringTag@
|
|
40952
|
+
if (void 0 !== input["__@toStringTag@926"]) return _vo408(input, _path, _exceptionable);
|
|
40953
40953
|
return _report(_exceptionable, {
|
|
40954
40954
|
path: _path,
|
|
40955
40955
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
|
@@ -81,8 +81,8 @@ export const __webpack_modules__ = {
|
|
|
81
81
|
hostname,
|
|
82
82
|
port: api.context.devServer?.port?.toString() ?? '',
|
|
83
83
|
pathname: '/rsbuild-hmr',
|
|
84
|
-
hot:
|
|
85
|
-
'live-reload':
|
|
84
|
+
hot: environment.config.dev?.hmr ?? true ? 'true' : 'false',
|
|
85
|
+
'live-reload': environment.config.dev?.liveReload ?? true ? 'true' : 'false',
|
|
86
86
|
protocol: 'ws'
|
|
87
87
|
});
|
|
88
88
|
if (environment.webSocketToken) searchParams.set('token', environment.webSocketToken);
|
package/dist/index.js
CHANGED
|
@@ -321,7 +321,9 @@ const defaultDataUriLimit = 2048;
|
|
|
321
321
|
function toRsbuildConfig(config) {
|
|
322
322
|
return {
|
|
323
323
|
dev: {
|
|
324
|
+
hmr: config.dev?.hmr ?? true,
|
|
324
325
|
lazyCompilation: false,
|
|
326
|
+
liveReload: config.dev?.liveReload ?? true,
|
|
325
327
|
watchFiles: config.dev?.watchFiles,
|
|
326
328
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
327
329
|
progressBar: config.dev?.progressBar ?? true
|