@lynx-js/rspeedy-canary 0.11.3-canary-20250919-ec48624b → 0.11.3
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 +55 -55
- package/dist/0~src_config_validate_ts.js +24 -24
- package/dist/1~src_cli_commands_ts.js +1 -1
- package/dist/1~src_config_validate_ts.js +24 -24
- package/dist/1~src_version_ts.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
-
## 0.11.3
|
|
3
|
+
## 0.11.3
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
- Support `command` and `env` parameters in the function exported by `lynx.config.js`. ([#1669](https://github.com/lynx-family/lynx-stack/pull/1669))
|
|
20
20
|
|
|
21
21
|
```js
|
|
22
|
-
import { defineConfig } from
|
|
22
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
23
23
|
|
|
24
24
|
export default defineConfig(({ command, env }) => {
|
|
25
|
-
const isBuild = command ===
|
|
26
|
-
const isTest = env ===
|
|
25
|
+
const isBuild = command === 'build'
|
|
26
|
+
const isTest = env === 'test'
|
|
27
27
|
|
|
28
28
|
return {
|
|
29
29
|
output: {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
performance: {
|
|
33
33
|
buildCache: isBuild,
|
|
34
34
|
},
|
|
35
|
-
}
|
|
36
|
-
})
|
|
35
|
+
}
|
|
36
|
+
})
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
- Support `resolve.dedupe`. ([#1671](https://github.com/lynx-family/lynx-stack/pull/1671))
|
|
@@ -41,30 +41,30 @@
|
|
|
41
41
|
This is useful when having multiple duplicated packages in the bundle:
|
|
42
42
|
|
|
43
43
|
```js
|
|
44
|
-
import { defineConfig } from
|
|
44
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
45
45
|
|
|
46
46
|
export default defineConfig({
|
|
47
47
|
resolve: {
|
|
48
|
-
dedupe: [
|
|
48
|
+
dedupe: ['tslib'],
|
|
49
49
|
},
|
|
50
|
-
})
|
|
50
|
+
})
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
- Support `resolve.aliasStrategy` for controlling priority between `tsconfig.json` paths and `resolve.alias` ([#1722](https://github.com/lynx-family/lynx-stack/pull/1722))
|
|
54
54
|
|
|
55
55
|
```js
|
|
56
|
-
import { defineConfig } from
|
|
56
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
57
57
|
|
|
58
58
|
export default defineConfig({
|
|
59
59
|
resolve: {
|
|
60
60
|
alias: {
|
|
61
|
-
|
|
61
|
+
'@': './src',
|
|
62
62
|
},
|
|
63
63
|
// 'prefer-tsconfig' (default): tsconfig.json paths take priority
|
|
64
64
|
// 'prefer-alias': resolve.alias takes priority
|
|
65
|
-
aliasStrategy:
|
|
65
|
+
aliasStrategy: 'prefer-alias',
|
|
66
66
|
},
|
|
67
|
-
})
|
|
67
|
+
})
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
- Bump Rsbuild v1.5.4 with Rspack v1.5.2. ([#1644](https://github.com/lynx-family/lynx-stack/pull/1644))
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
- Add `output.dataUriLimit.*` for fine-grained control of asset inlining. ([#1648](https://github.com/lynx-family/lynx-stack/pull/1648))
|
|
85
85
|
|
|
86
86
|
```js
|
|
87
|
-
import { defineConfig } from
|
|
87
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
88
88
|
|
|
89
89
|
export default defineConfig({
|
|
90
90
|
output: {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
media: 0,
|
|
94
94
|
},
|
|
95
95
|
},
|
|
96
|
-
})
|
|
96
|
+
})
|
|
97
97
|
```
|
|
98
98
|
|
|
99
99
|
## 0.11.0
|
|
@@ -213,28 +213,28 @@
|
|
|
213
213
|
|
|
214
214
|
```ts
|
|
215
215
|
type InlineChunkTestFunction = (params: {
|
|
216
|
-
size: number
|
|
217
|
-
name: string
|
|
218
|
-
}) => boolean
|
|
216
|
+
size: number
|
|
217
|
+
name: string
|
|
218
|
+
}) => boolean
|
|
219
219
|
|
|
220
|
-
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
220
|
+
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
221
221
|
|
|
222
222
|
type InlineChunkConfig =
|
|
223
223
|
| boolean
|
|
224
224
|
| InlineChunkTest
|
|
225
|
-
| { enable?: boolean |
|
|
225
|
+
| { enable?: boolean | 'auto', test: InlineChunkTest }
|
|
226
226
|
```
|
|
227
227
|
|
|
228
228
|
```ts
|
|
229
|
-
import { defineConfig } from
|
|
229
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
230
230
|
|
|
231
231
|
export default defineConfig({
|
|
232
232
|
output: {
|
|
233
233
|
inlineScripts: ({ name, size }) => {
|
|
234
|
-
return name.includes(
|
|
234
|
+
return name.includes('foo') && size < 1000
|
|
235
235
|
},
|
|
236
236
|
},
|
|
237
|
-
})
|
|
237
|
+
})
|
|
238
238
|
```
|
|
239
239
|
|
|
240
240
|
- docs: remove chunks: 'all' in comments ([#1168](https://github.com/lynx-family/lynx-stack/pull/1168))
|
|
@@ -277,13 +277,13 @@
|
|
|
277
277
|
example:
|
|
278
278
|
|
|
279
279
|
```js
|
|
280
|
-
import { defineConfig } from
|
|
280
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
281
281
|
|
|
282
282
|
export default defineConfig({
|
|
283
283
|
output: {
|
|
284
284
|
inlineScripts: false,
|
|
285
285
|
},
|
|
286
|
-
})
|
|
286
|
+
})
|
|
287
287
|
```
|
|
288
288
|
|
|
289
289
|
- Bump Rsbuild v1.3.21 with Rspack v1.3.11. ([#863](https://github.com/lynx-family/lynx-stack/pull/863))
|
|
@@ -303,12 +303,12 @@
|
|
|
303
303
|
example:
|
|
304
304
|
|
|
305
305
|
```js
|
|
306
|
-
import { defineConfig } from
|
|
306
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
307
307
|
export default defineConfig({
|
|
308
308
|
source: {
|
|
309
|
-
preEntry:
|
|
309
|
+
preEntry: './src/polyfill.ts',
|
|
310
310
|
},
|
|
311
|
-
})
|
|
311
|
+
})
|
|
312
312
|
```
|
|
313
313
|
|
|
314
314
|
- Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
|
|
@@ -319,17 +319,17 @@
|
|
|
319
319
|
|
|
320
320
|
```js
|
|
321
321
|
export const myPlugin = {
|
|
322
|
-
name:
|
|
322
|
+
name: 'my-plugin',
|
|
323
323
|
setup(api) {
|
|
324
|
-
const { callerName } = api.context
|
|
324
|
+
const { callerName } = api.context
|
|
325
325
|
|
|
326
|
-
if (callerName ===
|
|
326
|
+
if (callerName === 'rslib') {
|
|
327
327
|
// ...
|
|
328
|
-
} else if (callerName ===
|
|
328
|
+
} else if (callerName === 'rspeedy') {
|
|
329
329
|
// ...
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
|
-
}
|
|
332
|
+
}
|
|
333
333
|
```
|
|
334
334
|
|
|
335
335
|
- Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
|
|
353
353
|
|
|
354
354
|
```js
|
|
355
|
-
import { defineConfig } from
|
|
355
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
356
356
|
|
|
357
357
|
export default defineConfig({
|
|
358
358
|
tools: {
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
},
|
|
363
363
|
},
|
|
364
364
|
},
|
|
365
|
-
})
|
|
365
|
+
})
|
|
366
366
|
```
|
|
367
367
|
|
|
368
368
|
See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
|
|
@@ -494,12 +494,12 @@
|
|
|
494
494
|
example:
|
|
495
495
|
|
|
496
496
|
```js
|
|
497
|
-
import { defineConfig } from
|
|
497
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
498
498
|
export default defineConfig({
|
|
499
499
|
server: {
|
|
500
|
-
base:
|
|
500
|
+
base: '/dist',
|
|
501
501
|
},
|
|
502
|
-
})
|
|
502
|
+
})
|
|
503
503
|
```
|
|
504
504
|
|
|
505
505
|
- Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
|
|
@@ -552,11 +552,11 @@
|
|
|
552
552
|
You can switch to other tools by using:
|
|
553
553
|
|
|
554
554
|
```js
|
|
555
|
-
import { defineConfig } from
|
|
555
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
556
556
|
import {
|
|
557
557
|
CssMinimizerWebpackPlugin,
|
|
558
558
|
pluginCssMinimizer,
|
|
559
|
-
} from
|
|
559
|
+
} from '@rsbuild/plugin-css-minimizer'
|
|
560
560
|
|
|
561
561
|
export default defineConfig({
|
|
562
562
|
plugins: [
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
},
|
|
570
570
|
}),
|
|
571
571
|
],
|
|
572
|
-
})
|
|
572
|
+
})
|
|
573
573
|
```
|
|
574
574
|
|
|
575
575
|
See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
|
|
@@ -579,8 +579,8 @@
|
|
|
579
579
|
You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
|
|
580
580
|
|
|
581
581
|
```js
|
|
582
|
-
import { defineConfig } from
|
|
583
|
-
import { pluginCssMinimizer } from
|
|
582
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
583
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
584
584
|
|
|
585
585
|
export default defineConfig({
|
|
586
586
|
plugins: [
|
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
},
|
|
593
593
|
}),
|
|
594
594
|
],
|
|
595
|
-
})
|
|
595
|
+
})
|
|
596
596
|
```
|
|
597
597
|
|
|
598
598
|
## 0.7.1
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
You may turn it off using `output.minify.css: false`:
|
|
613
613
|
|
|
614
614
|
```js
|
|
615
|
-
import { defineConfig } from
|
|
615
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
616
616
|
|
|
617
617
|
export default defineConfig({
|
|
618
618
|
output: {
|
|
@@ -620,18 +620,18 @@
|
|
|
620
620
|
css: false,
|
|
621
621
|
},
|
|
622
622
|
},
|
|
623
|
-
})
|
|
623
|
+
})
|
|
624
624
|
```
|
|
625
625
|
|
|
626
626
|
Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
|
|
627
627
|
|
|
628
628
|
```js
|
|
629
|
-
import { defineConfig } from
|
|
630
|
-
import { pluginCssMinimizer } from
|
|
629
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
630
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
631
631
|
|
|
632
632
|
export default defineConfig({
|
|
633
633
|
plugins: [pluginCssMinimizer()],
|
|
634
|
-
})
|
|
634
|
+
})
|
|
635
635
|
```
|
|
636
636
|
|
|
637
637
|
- 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
|
|
@@ -658,22 +658,22 @@
|
|
|
658
658
|
- The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
|
|
659
659
|
|
|
660
660
|
```js
|
|
661
|
-
import { defineConfig } from
|
|
661
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
662
662
|
|
|
663
663
|
export default defineConfig({
|
|
664
664
|
dev: {
|
|
665
665
|
watchFiles: [
|
|
666
666
|
{
|
|
667
|
-
type:
|
|
668
|
-
paths: [
|
|
667
|
+
type: 'reload-server',
|
|
668
|
+
paths: ['public/**/*.txt'],
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
|
-
type:
|
|
672
|
-
paths: [
|
|
671
|
+
type: 'reload-page',
|
|
672
|
+
paths: ['public/**/*.json'],
|
|
673
673
|
},
|
|
674
674
|
],
|
|
675
675
|
},
|
|
676
|
-
})
|
|
676
|
+
})
|
|
677
677
|
```
|
|
678
678
|
|
|
679
679
|
- be9b003: Add `source.exclude`.
|
|
@@ -1492,9 +1492,9 @@ export const __webpack_modules__ = {
|
|
|
1492
1492
|
if (void 0 === value) return true;
|
|
1493
1493
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1494
1494
|
});
|
|
1495
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1495
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6772"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1496
1496
|
if ([
|
|
1497
|
-
"__@toStringTag@
|
|
1497
|
+
"__@toStringTag@6772"
|
|
1498
1498
|
].some((prop)=>key === prop)) return true;
|
|
1499
1499
|
const value = input[key];
|
|
1500
1500
|
if (void 0 === value) return true;
|
|
@@ -3102,14 +3102,14 @@ export const __webpack_modules__ = {
|
|
|
3102
3102
|
if (void 0 === value) return true;
|
|
3103
3103
|
return false;
|
|
3104
3104
|
})));
|
|
3105
|
-
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@
|
|
3105
|
+
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@6772"] && Object.keys(input).every((key)=>{
|
|
3106
3106
|
if ([
|
|
3107
3107
|
"BYTES_PER_ELEMENT",
|
|
3108
3108
|
"buffer",
|
|
3109
3109
|
"byteLength",
|
|
3110
3110
|
"byteOffset",
|
|
3111
3111
|
"length",
|
|
3112
|
-
"__@toStringTag@
|
|
3112
|
+
"__@toStringTag@6772"
|
|
3113
3113
|
].some((prop)=>key === prop)) return true;
|
|
3114
3114
|
const value = input[key];
|
|
3115
3115
|
if (void 0 === value) return true;
|
|
@@ -6363,9 +6363,9 @@ export const __webpack_modules__ = {
|
|
|
6363
6363
|
if (void 0 === value) return true;
|
|
6364
6364
|
return false;
|
|
6365
6365
|
}));
|
|
6366
|
-
const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6366
|
+
const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6772"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6367
6367
|
if ([
|
|
6368
|
-
"__@toStringTag@
|
|
6368
|
+
"__@toStringTag@6772"
|
|
6369
6369
|
].some((prop)=>key === prop)) return true;
|
|
6370
6370
|
const value = input[key];
|
|
6371
6371
|
if (void 0 === value) return true;
|
|
@@ -7092,18 +7092,18 @@ export const __webpack_modules__ = {
|
|
|
7092
7092
|
return false;
|
|
7093
7093
|
})();
|
|
7094
7094
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7095
|
-
if (void 0 !== input["__@toStringTag@
|
|
7095
|
+
if (void 0 !== input["__@toStringTag@6772"]) return _io149(input, _exceptionable);
|
|
7096
7096
|
if (void 0 !== input.pem) return _io150(input, _exceptionable);
|
|
7097
7097
|
return false;
|
|
7098
7098
|
})();
|
|
7099
7099
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7100
|
-
if (void 0 !== input["__@toStringTag@
|
|
7100
|
+
if (void 0 !== input["__@toStringTag@6772"]) return _io149(input, _exceptionable);
|
|
7101
7101
|
if (void 0 !== input.buf) return _io151(input, _exceptionable);
|
|
7102
7102
|
return false;
|
|
7103
7103
|
})();
|
|
7104
7104
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7105
7105
|
if (void 0 !== input.name) return _io405(input, _exceptionable);
|
|
7106
|
-
if (void 0 !== input["__@toStringTag@
|
|
7106
|
+
if (void 0 !== input["__@toStringTag@6772"]) return _io406(input, _exceptionable);
|
|
7107
7107
|
return false;
|
|
7108
7108
|
})();
|
|
7109
7109
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9708,14 +9708,14 @@ export const __webpack_modules__ = {
|
|
|
9708
9708
|
}).every((flag)=>flag)
|
|
9709
9709
|
].every((flag)=>flag);
|
|
9710
9710
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9711
|
-
"string" == typeof input["__@toStringTag@
|
|
9712
|
-
path: _path + "[\"__@toStringTag@
|
|
9711
|
+
"string" == typeof input["__@toStringTag@6772"] || _report(_exceptionable, {
|
|
9712
|
+
path: _path + "[\"__@toStringTag@6772\"]",
|
|
9713
9713
|
expected: "string",
|
|
9714
|
-
value: input["__@toStringTag@
|
|
9714
|
+
value: input["__@toStringTag@6772"]
|
|
9715
9715
|
}),
|
|
9716
9716
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9717
9717
|
if ([
|
|
9718
|
-
"__@toStringTag@
|
|
9718
|
+
"__@toStringTag@6772"
|
|
9719
9719
|
].some((prop)=>key === prop)) return true;
|
|
9720
9720
|
const value = input[key];
|
|
9721
9721
|
if (void 0 === value) return true;
|
|
@@ -18729,10 +18729,10 @@ export const __webpack_modules__ = {
|
|
|
18729
18729
|
expected: "number",
|
|
18730
18730
|
value: input.length
|
|
18731
18731
|
}),
|
|
18732
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18733
|
-
path: _path + "[\"__@toStringTag@
|
|
18732
|
+
"Uint8Array" === input["__@toStringTag@6772"] || _report(_exceptionable, {
|
|
18733
|
+
path: _path + "[\"__@toStringTag@6772\"]",
|
|
18734
18734
|
expected: "\"Uint8Array\"",
|
|
18735
|
-
value: input["__@toStringTag@
|
|
18735
|
+
value: input["__@toStringTag@6772"]
|
|
18736
18736
|
}),
|
|
18737
18737
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18738
18738
|
if ([
|
|
@@ -18741,7 +18741,7 @@ export const __webpack_modules__ = {
|
|
|
18741
18741
|
"byteLength",
|
|
18742
18742
|
"byteOffset",
|
|
18743
18743
|
"length",
|
|
18744
|
-
"__@toStringTag@
|
|
18744
|
+
"__@toStringTag@6772"
|
|
18745
18745
|
].some((prop)=>key === prop)) return true;
|
|
18746
18746
|
const value = input[key];
|
|
18747
18747
|
if (void 0 === value) return true;
|
|
@@ -36802,14 +36802,14 @@ export const __webpack_modules__ = {
|
|
|
36802
36802
|
}).every((flag)=>flag)
|
|
36803
36803
|
].every((flag)=>flag);
|
|
36804
36804
|
const _vo406 = (input, _path, _exceptionable = true)=>[
|
|
36805
|
-
"string" == typeof input["__@toStringTag@
|
|
36806
|
-
path: _path + "[\"__@toStringTag@
|
|
36805
|
+
"string" == typeof input["__@toStringTag@6772"] || _report(_exceptionable, {
|
|
36806
|
+
path: _path + "[\"__@toStringTag@6772\"]",
|
|
36807
36807
|
expected: "string",
|
|
36808
|
-
value: input["__@toStringTag@
|
|
36808
|
+
value: input["__@toStringTag@6772"]
|
|
36809
36809
|
}),
|
|
36810
36810
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
36811
36811
|
if ([
|
|
36812
|
-
"__@toStringTag@
|
|
36812
|
+
"__@toStringTag@6772"
|
|
36813
36813
|
].some((prop)=>key === prop)) return true;
|
|
36814
36814
|
const value = input[key];
|
|
36815
36815
|
if (void 0 === value) return true;
|
|
@@ -40506,7 +40506,7 @@ export const __webpack_modules__ = {
|
|
|
40506
40506
|
});
|
|
40507
40507
|
})();
|
|
40508
40508
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40509
|
-
if (void 0 !== input["__@toStringTag@
|
|
40509
|
+
if (void 0 !== input["__@toStringTag@6772"]) return _vo149(input, _path, _exceptionable);
|
|
40510
40510
|
if (void 0 !== input.pem) return _vo150(input, _path, _exceptionable);
|
|
40511
40511
|
return _report(_exceptionable, {
|
|
40512
40512
|
path: _path,
|
|
@@ -40515,7 +40515,7 @@ export const __webpack_modules__ = {
|
|
|
40515
40515
|
});
|
|
40516
40516
|
})();
|
|
40517
40517
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40518
|
-
if (void 0 !== input["__@toStringTag@
|
|
40518
|
+
if (void 0 !== input["__@toStringTag@6772"]) return _vo149(input, _path, _exceptionable);
|
|
40519
40519
|
if (void 0 !== input.buf) return _vo151(input, _path, _exceptionable);
|
|
40520
40520
|
return _report(_exceptionable, {
|
|
40521
40521
|
path: _path,
|
|
@@ -40525,7 +40525,7 @@ export const __webpack_modules__ = {
|
|
|
40525
40525
|
})();
|
|
40526
40526
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40527
40527
|
if (void 0 !== input.name) return _vo405(input, _path, _exceptionable);
|
|
40528
|
-
if (void 0 !== input["__@toStringTag@
|
|
40528
|
+
if (void 0 !== input["__@toStringTag@6772"]) return _vo406(input, _path, _exceptionable);
|
|
40529
40529
|
return _report(_exceptionable, {
|
|
40530
40530
|
path: _path,
|
|
40531
40531
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
|
@@ -41,7 +41,7 @@ export const __webpack_modules__ = {
|
|
|
41
41
|
});
|
|
42
42
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
43
43
|
var package_namespaceObject = {
|
|
44
|
-
rE: "0.11.
|
|
44
|
+
rE: "0.11.3"
|
|
45
45
|
};
|
|
46
46
|
const version = package_namespaceObject.rE;
|
|
47
47
|
const rspackVersion = core_.rspack.rspackVersion;
|
|
@@ -1492,9 +1492,9 @@ export const __webpack_modules__ = {
|
|
|
1492
1492
|
if (void 0 === value) return true;
|
|
1493
1493
|
return "string" == typeof value || "boolean" == typeof value;
|
|
1494
1494
|
});
|
|
1495
|
-
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
1495
|
+
const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@922"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
1496
1496
|
if ([
|
|
1497
|
-
"__@toStringTag@
|
|
1497
|
+
"__@toStringTag@922"
|
|
1498
1498
|
].some((prop)=>key === prop)) return true;
|
|
1499
1499
|
const value = input[key];
|
|
1500
1500
|
if (void 0 === value) return true;
|
|
@@ -3102,14 +3102,14 @@ export const __webpack_modules__ = {
|
|
|
3102
3102
|
if (void 0 === value) return true;
|
|
3103
3103
|
return false;
|
|
3104
3104
|
})));
|
|
3105
|
-
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@
|
|
3105
|
+
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@922"] && Object.keys(input).every((key)=>{
|
|
3106
3106
|
if ([
|
|
3107
3107
|
"BYTES_PER_ELEMENT",
|
|
3108
3108
|
"buffer",
|
|
3109
3109
|
"byteLength",
|
|
3110
3110
|
"byteOffset",
|
|
3111
3111
|
"length",
|
|
3112
|
-
"__@toStringTag@
|
|
3112
|
+
"__@toStringTag@922"
|
|
3113
3113
|
].some((prop)=>key === prop)) return true;
|
|
3114
3114
|
const value = input[key];
|
|
3115
3115
|
if (void 0 === value) return true;
|
|
@@ -6363,9 +6363,9 @@ export const __webpack_modules__ = {
|
|
|
6363
6363
|
if (void 0 === value) return true;
|
|
6364
6364
|
return false;
|
|
6365
6365
|
}));
|
|
6366
|
-
const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@
|
|
6366
|
+
const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@922"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
6367
6367
|
if ([
|
|
6368
|
-
"__@toStringTag@
|
|
6368
|
+
"__@toStringTag@922"
|
|
6369
6369
|
].some((prop)=>key === prop)) return true;
|
|
6370
6370
|
const value = input[key];
|
|
6371
6371
|
if (void 0 === value) return true;
|
|
@@ -7092,18 +7092,18 @@ export const __webpack_modules__ = {
|
|
|
7092
7092
|
return false;
|
|
7093
7093
|
})();
|
|
7094
7094
|
const _iu1 = (input, _exceptionable = true)=>(()=>{
|
|
7095
|
-
if (void 0 !== input["__@toStringTag@
|
|
7095
|
+
if (void 0 !== input["__@toStringTag@922"]) return _io149(input, _exceptionable);
|
|
7096
7096
|
if (void 0 !== input.pem) return _io150(input, _exceptionable);
|
|
7097
7097
|
return false;
|
|
7098
7098
|
})();
|
|
7099
7099
|
const _iu2 = (input, _exceptionable = true)=>(()=>{
|
|
7100
|
-
if (void 0 !== input["__@toStringTag@
|
|
7100
|
+
if (void 0 !== input["__@toStringTag@922"]) return _io149(input, _exceptionable);
|
|
7101
7101
|
if (void 0 !== input.buf) return _io151(input, _exceptionable);
|
|
7102
7102
|
return false;
|
|
7103
7103
|
})();
|
|
7104
7104
|
const _iu3 = (input, _exceptionable = true)=>(()=>{
|
|
7105
7105
|
if (void 0 !== input.name) return _io405(input, _exceptionable);
|
|
7106
|
-
if (void 0 !== input["__@toStringTag@
|
|
7106
|
+
if (void 0 !== input["__@toStringTag@922"]) return _io406(input, _exceptionable);
|
|
7107
7107
|
return false;
|
|
7108
7108
|
})();
|
|
7109
7109
|
const _iu4 = (input, _exceptionable = true)=>(()=>{
|
|
@@ -9708,14 +9708,14 @@ export const __webpack_modules__ = {
|
|
|
9708
9708
|
}).every((flag)=>flag)
|
|
9709
9709
|
].every((flag)=>flag);
|
|
9710
9710
|
const _vo41 = (input, _path, _exceptionable = true)=>[
|
|
9711
|
-
"string" == typeof input["__@toStringTag@
|
|
9712
|
-
path: _path + "[\"__@toStringTag@
|
|
9711
|
+
"string" == typeof input["__@toStringTag@922"] || _report(_exceptionable, {
|
|
9712
|
+
path: _path + "[\"__@toStringTag@922\"]",
|
|
9713
9713
|
expected: "string",
|
|
9714
|
-
value: input["__@toStringTag@
|
|
9714
|
+
value: input["__@toStringTag@922"]
|
|
9715
9715
|
}),
|
|
9716
9716
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
9717
9717
|
if ([
|
|
9718
|
-
"__@toStringTag@
|
|
9718
|
+
"__@toStringTag@922"
|
|
9719
9719
|
].some((prop)=>key === prop)) return true;
|
|
9720
9720
|
const value = input[key];
|
|
9721
9721
|
if (void 0 === value) return true;
|
|
@@ -18729,10 +18729,10 @@ export const __webpack_modules__ = {
|
|
|
18729
18729
|
expected: "number",
|
|
18730
18730
|
value: input.length
|
|
18731
18731
|
}),
|
|
18732
|
-
"Uint8Array" === input["__@toStringTag@
|
|
18733
|
-
path: _path + "[\"__@toStringTag@
|
|
18732
|
+
"Uint8Array" === input["__@toStringTag@922"] || _report(_exceptionable, {
|
|
18733
|
+
path: _path + "[\"__@toStringTag@922\"]",
|
|
18734
18734
|
expected: "\"Uint8Array\"",
|
|
18735
|
-
value: input["__@toStringTag@
|
|
18735
|
+
value: input["__@toStringTag@922"]
|
|
18736
18736
|
}),
|
|
18737
18737
|
false === _exceptionable || Object.keys(input).map((key)=>{
|
|
18738
18738
|
if ([
|
|
@@ -18741,7 +18741,7 @@ export const __webpack_modules__ = {
|
|
|
18741
18741
|
"byteLength",
|
|
18742
18742
|
"byteOffset",
|
|
18743
18743
|
"length",
|
|
18744
|
-
"__@toStringTag@
|
|
18744
|
+
"__@toStringTag@922"
|
|
18745
18745
|
].some((prop)=>key === prop)) return true;
|
|
18746
18746
|
const value = input[key];
|
|
18747
18747
|
if (void 0 === value) return true;
|
|
@@ -36802,14 +36802,14 @@ export const __webpack_modules__ = {
|
|
|
36802
36802
|
}).every((flag)=>flag)
|
|
36803
36803
|
].every((flag)=>flag);
|
|
36804
36804
|
const _vo406 = (input, _path, _exceptionable = true)=>[
|
|
36805
|
-
"string" == typeof input["__@toStringTag@
|
|
36806
|
-
path: _path + "[\"__@toStringTag@
|
|
36805
|
+
"string" == typeof input["__@toStringTag@922"] || _report(_exceptionable, {
|
|
36806
|
+
path: _path + "[\"__@toStringTag@922\"]",
|
|
36807
36807
|
expected: "string",
|
|
36808
|
-
value: input["__@toStringTag@
|
|
36808
|
+
value: input["__@toStringTag@922"]
|
|
36809
36809
|
}),
|
|
36810
36810
|
1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
|
|
36811
36811
|
if ([
|
|
36812
|
-
"__@toStringTag@
|
|
36812
|
+
"__@toStringTag@922"
|
|
36813
36813
|
].some((prop)=>key === prop)) return true;
|
|
36814
36814
|
const value = input[key];
|
|
36815
36815
|
if (void 0 === value) return true;
|
|
@@ -40506,7 +40506,7 @@ export const __webpack_modules__ = {
|
|
|
40506
40506
|
});
|
|
40507
40507
|
})();
|
|
40508
40508
|
const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40509
|
-
if (void 0 !== input["__@toStringTag@
|
|
40509
|
+
if (void 0 !== input["__@toStringTag@922"]) return _vo149(input, _path, _exceptionable);
|
|
40510
40510
|
if (void 0 !== input.pem) return _vo150(input, _path, _exceptionable);
|
|
40511
40511
|
return _report(_exceptionable, {
|
|
40512
40512
|
path: _path,
|
|
@@ -40515,7 +40515,7 @@ export const __webpack_modules__ = {
|
|
|
40515
40515
|
});
|
|
40516
40516
|
})();
|
|
40517
40517
|
const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40518
|
-
if (void 0 !== input["__@toStringTag@
|
|
40518
|
+
if (void 0 !== input["__@toStringTag@922"]) return _vo149(input, _path, _exceptionable);
|
|
40519
40519
|
if (void 0 !== input.buf) return _vo151(input, _path, _exceptionable);
|
|
40520
40520
|
return _report(_exceptionable, {
|
|
40521
40521
|
path: _path,
|
|
@@ -40525,7 +40525,7 @@ export const __webpack_modules__ = {
|
|
|
40525
40525
|
})();
|
|
40526
40526
|
const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
|
|
40527
40527
|
if (void 0 !== input.name) return _vo405(input, _path, _exceptionable);
|
|
40528
|
-
if (void 0 !== input["__@toStringTag@
|
|
40528
|
+
if (void 0 !== input["__@toStringTag@922"]) return _vo406(input, _path, _exceptionable);
|
|
40529
40529
|
return _report(_exceptionable, {
|
|
40530
40530
|
path: _path,
|
|
40531
40531
|
expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
|
package/dist/1~src_version_ts.js
CHANGED
|
@@ -11,7 +11,7 @@ export const __webpack_modules__ = {
|
|
|
11
11
|
});
|
|
12
12
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
13
13
|
var package_namespaceObject = {
|
|
14
|
-
rE: "0.11.
|
|
14
|
+
rE: "0.11.3"
|
|
15
15
|
};
|
|
16
16
|
const version = package_namespaceObject.rE;
|
|
17
17
|
const rspackVersion = core_.rspack.rspackVersion;
|
package/dist/index.js
CHANGED
|
@@ -108,7 +108,7 @@ var __webpack_modules__ = {
|
|
|
108
108
|
});
|
|
109
109
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
110
110
|
var package_namespaceObject = {
|
|
111
|
-
rE: "0.11.
|
|
111
|
+
rE: "0.11.3"
|
|
112
112
|
};
|
|
113
113
|
const version = package_namespaceObject.rE;
|
|
114
114
|
const rspackVersion = core_.rspack.rspackVersion;
|