@lynx-js/react-rsbuild-plugin-canary 0.10.14 → 0.11.0-canary-20250918-cb97ccbf
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 +57 -36
- package/dist/index.d.ts +0 -32
- package/dist/index.js +2 -20
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @lynx-js/react-rsbuild-plugin
|
|
2
2
|
|
|
3
|
+
## 0.11.0-canary-20250918141636-cb97ccbf64173ae4ea54e41def23df8dbb7a5b29
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- **BREAKING CHANGE:** Remove the `enableParallelElement` and `pipelineSchedulerConfig` options. ([#1705](https://github.com/lynx-family/lynx-stack/pull/1705))
|
|
8
|
+
|
|
9
|
+
Since the thread element resolution is still in experimental stage and may have stability risks, it will be disabled by default after this change.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Be compat with `@lynx-js/react` v0.114.0 ([#1781](https://github.com/lynx-family/lynx-stack/pull/1781))
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`a84376f`](https://github.com/lynx-family/lynx-stack/commit/a84376fcea469cae20c98e4cf824424cf55486e4), [`9c8321c`](https://github.com/lynx-family/lynx-stack/commit/9c8321cbe6550bb41ecd8321d79ab86b5ac2814b), [`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`8b741a0`](https://github.com/lynx-family/lynx-stack/commit/8b741a09dac5218ad921dbbe2b33d1aaebff6141), [`f09e0aa`](https://github.com/lynx-family/lynx-stack/commit/f09e0aac48d5dd890d8e94c41536d6b721a968d6), [`7f46fdc`](https://github.com/lynx-family/lynx-stack/commit/7f46fdcb53b66adcd0bd74c05fda8eef00fd10e4)]:
|
|
16
|
+
- @lynx-js/template-webpack-plugin@0.9.0-canary-20250918141636-cb97ccbf64173ae4ea54e41def23df8dbb7a5b29
|
|
17
|
+
- @lynx-js/react@0.114.0-canary-20250918141636-cb97ccbf64173ae4ea54e41def23df8dbb7a5b29
|
|
18
|
+
- @lynx-js/react-webpack-plugin@0.7.1-canary-20250918141636-cb97ccbf64173ae4ea54e41def23df8dbb7a5b29
|
|
19
|
+
- @lynx-js/css-extract-webpack-plugin@0.6.3-canary-20250918141636-cb97ccbf64173ae4ea54e41def23df8dbb7a5b29
|
|
20
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.11.0-canary-20250918141636-cb97ccbf64173ae4ea54e41def23df8dbb7a5b29
|
|
21
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
22
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
23
|
+
|
|
3
24
|
## 0.10.14
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -139,28 +160,28 @@
|
|
|
139
160
|
|
|
140
161
|
```ts
|
|
141
162
|
type InlineChunkTestFunction = (params: {
|
|
142
|
-
size: number
|
|
143
|
-
name: string
|
|
144
|
-
}) => boolean
|
|
163
|
+
size: number;
|
|
164
|
+
name: string;
|
|
165
|
+
}) => boolean;
|
|
145
166
|
|
|
146
|
-
type InlineChunkTest = RegExp | InlineChunkTestFunction
|
|
167
|
+
type InlineChunkTest = RegExp | InlineChunkTestFunction;
|
|
147
168
|
|
|
148
169
|
type InlineChunkConfig =
|
|
149
170
|
| boolean
|
|
150
171
|
| InlineChunkTest
|
|
151
|
-
| { enable?: boolean |
|
|
172
|
+
| { enable?: boolean | "auto"; test: InlineChunkTest };
|
|
152
173
|
```
|
|
153
174
|
|
|
154
175
|
```ts
|
|
155
|
-
import { defineConfig } from
|
|
176
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
156
177
|
|
|
157
178
|
export default defineConfig({
|
|
158
179
|
output: {
|
|
159
180
|
inlineScripts: ({ name, size }) => {
|
|
160
|
-
return name.includes(
|
|
181
|
+
return name.includes("foo") && size < 1000;
|
|
161
182
|
},
|
|
162
183
|
},
|
|
163
|
-
})
|
|
184
|
+
});
|
|
164
185
|
```
|
|
165
186
|
|
|
166
187
|
- Updated dependencies [[`51cb73d`](https://github.com/lynx-family/lynx-stack/commit/51cb73dd0b77d35540644cdd2e6c37db856f0e8a), [`69fb042`](https://github.com/lynx-family/lynx-stack/commit/69fb0420e297abf768c889769c95a207c480b3c7), [`a7e8b5b`](https://github.com/lynx-family/lynx-stack/commit/a7e8b5bbbab0490e7cf6f47581130e7b32739abb)]:
|
|
@@ -240,13 +261,13 @@
|
|
|
240
261
|
example:
|
|
241
262
|
|
|
242
263
|
```js
|
|
243
|
-
import { defineConfig } from
|
|
264
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
244
265
|
|
|
245
266
|
export default defineConfig({
|
|
246
267
|
output: {
|
|
247
268
|
inlineScripts: false,
|
|
248
269
|
},
|
|
249
|
-
})
|
|
270
|
+
});
|
|
250
271
|
```
|
|
251
272
|
|
|
252
273
|
- Support `@lynx-js/react` v0.109.0. ([#840](https://github.com/lynx-family/lynx-stack/pull/840))
|
|
@@ -333,7 +354,7 @@
|
|
|
333
354
|
Now you can override configuration like `useDefineForClassFields` using `tools.swc`.
|
|
334
355
|
|
|
335
356
|
```js
|
|
336
|
-
import { defineConfig } from
|
|
357
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
337
358
|
|
|
338
359
|
export default defineConfig({
|
|
339
360
|
tools: {
|
|
@@ -345,7 +366,7 @@
|
|
|
345
366
|
},
|
|
346
367
|
},
|
|
347
368
|
},
|
|
348
|
-
})
|
|
369
|
+
});
|
|
349
370
|
```
|
|
350
371
|
|
|
351
372
|
- Updated dependencies [[`f1ca29b`](https://github.com/lynx-family/lynx-stack/commit/f1ca29bd766377dd46583f15e1e75bca447699cd)]:
|
|
@@ -521,7 +542,7 @@
|
|
|
521
542
|
You may turn it off using `output.minify.css: false`:
|
|
522
543
|
|
|
523
544
|
```js
|
|
524
|
-
import { defineConfig } from
|
|
545
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
525
546
|
|
|
526
547
|
export default defineConfig({
|
|
527
548
|
output: {
|
|
@@ -529,18 +550,18 @@
|
|
|
529
550
|
css: false,
|
|
530
551
|
},
|
|
531
552
|
},
|
|
532
|
-
})
|
|
553
|
+
});
|
|
533
554
|
```
|
|
534
555
|
|
|
535
556
|
Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
|
|
536
557
|
|
|
537
558
|
```js
|
|
538
|
-
import { defineConfig } from
|
|
539
|
-
import { pluginCssMinimizer } from
|
|
559
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
560
|
+
import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
|
|
540
561
|
|
|
541
562
|
export default defineConfig({
|
|
542
563
|
plugins: [pluginCssMinimizer()],
|
|
543
|
-
})
|
|
564
|
+
});
|
|
544
565
|
```
|
|
545
566
|
|
|
546
567
|
### Patch Changes
|
|
@@ -620,18 +641,18 @@
|
|
|
620
641
|
- e8039f2: Add `defineDCE` in plugin options. Often used to define custom macros.
|
|
621
642
|
|
|
622
643
|
```js
|
|
623
|
-
import { pluginReactLynx } from
|
|
624
|
-
import { defineConfig } from
|
|
644
|
+
import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
|
|
645
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
625
646
|
|
|
626
647
|
export default defineConfig({
|
|
627
648
|
plugins: [
|
|
628
649
|
pluginReactLynx({
|
|
629
650
|
defineDCE: {
|
|
630
|
-
__SOME_FALSE_DEFINE__:
|
|
651
|
+
__SOME_FALSE_DEFINE__: "false",
|
|
631
652
|
},
|
|
632
653
|
}),
|
|
633
654
|
],
|
|
634
|
-
})
|
|
655
|
+
});
|
|
635
656
|
```
|
|
636
657
|
|
|
637
658
|
Different from `define` provided by bundlers like webpack, `defineDCE` works at transform time and a extra DCE (Dead Code Elimination) pass will be performed.
|
|
@@ -639,20 +660,20 @@
|
|
|
639
660
|
For example, `import` initialized by dead code will be removed:
|
|
640
661
|
|
|
641
662
|
```js
|
|
642
|
-
import { foo } from
|
|
663
|
+
import { foo } from "bar";
|
|
643
664
|
|
|
644
665
|
if (__SOME_FALSE_DEFINE__) {
|
|
645
|
-
foo()
|
|
646
|
-
console.log(
|
|
666
|
+
foo();
|
|
667
|
+
console.log("dead code");
|
|
647
668
|
} else {
|
|
648
|
-
console.log(
|
|
669
|
+
console.log("reachable code");
|
|
649
670
|
}
|
|
650
671
|
```
|
|
651
672
|
|
|
652
673
|
will be transformed to:
|
|
653
674
|
|
|
654
675
|
```js
|
|
655
|
-
console.log(
|
|
676
|
+
console.log("reachable code");
|
|
656
677
|
```
|
|
657
678
|
|
|
658
679
|
- Updated dependencies [8dd6cca]
|
|
@@ -695,18 +716,18 @@
|
|
|
695
716
|
- a30c83d: Add `compat.removeComponentAttrRegex`.
|
|
696
717
|
|
|
697
718
|
```js
|
|
698
|
-
import { pluginReactLynx } from
|
|
699
|
-
import { defineConfig } from
|
|
719
|
+
import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
|
|
720
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
700
721
|
|
|
701
722
|
export default defineConfig({
|
|
702
723
|
plugins: [
|
|
703
724
|
pluginReactLynx({
|
|
704
725
|
compat: {
|
|
705
|
-
removeComponentAttrRegex:
|
|
726
|
+
removeComponentAttrRegex: "YOUR REGEX",
|
|
706
727
|
},
|
|
707
728
|
}),
|
|
708
729
|
],
|
|
709
|
-
})
|
|
730
|
+
});
|
|
710
731
|
```
|
|
711
732
|
|
|
712
733
|
NOTE: This feature is deprecated and will be removed in the future. Use CodeMod instead.
|
|
@@ -725,11 +746,11 @@
|
|
|
725
746
|
|
|
726
747
|
```javascript
|
|
727
748
|
// bar.ts
|
|
728
|
-
import
|
|
749
|
+
import "background-only";
|
|
729
750
|
|
|
730
751
|
export const bar = () => {
|
|
731
|
-
return
|
|
732
|
-
}
|
|
752
|
+
return "bar";
|
|
753
|
+
};
|
|
733
754
|
```
|
|
734
755
|
|
|
735
756
|
If `bar` is called in `main-thread`, build time error will be triggered.
|
|
@@ -738,15 +759,15 @@
|
|
|
738
759
|
|
|
739
760
|
```tsx
|
|
740
761
|
// App.tsx
|
|
741
|
-
import { bar } from
|
|
762
|
+
import { bar } from "./bar.js";
|
|
742
763
|
|
|
743
764
|
function App() {
|
|
744
|
-
bar()
|
|
765
|
+
bar();
|
|
745
766
|
return (
|
|
746
767
|
<view>
|
|
747
768
|
<text>Hello, Lynx x rspeedy</text>
|
|
748
769
|
</view>
|
|
749
|
-
)
|
|
770
|
+
);
|
|
750
771
|
}
|
|
751
772
|
```
|
|
752
773
|
|
package/dist/index.d.ts
CHANGED
|
@@ -570,14 +570,6 @@ export declare interface PluginReactLynxOptions {
|
|
|
570
570
|
* @defaultValue `false`
|
|
571
571
|
*/
|
|
572
572
|
enableNewGesture?: boolean;
|
|
573
|
-
/**
|
|
574
|
-
* enableParallelElement enables Threaded Element Resolution.
|
|
575
|
-
*
|
|
576
|
-
* @defaultValue `true`
|
|
577
|
-
*
|
|
578
|
-
* @public
|
|
579
|
-
*/
|
|
580
|
-
enableParallelElement?: boolean;
|
|
581
573
|
/**
|
|
582
574
|
* enableRemoveCSSScope controls whether CSS is restrict to use in the component scope.
|
|
583
575
|
*
|
|
@@ -615,30 +607,6 @@ export declare interface PluginReactLynxOptions {
|
|
|
615
607
|
* @public
|
|
616
608
|
*/
|
|
617
609
|
enableSSR?: boolean;
|
|
618
|
-
/**
|
|
619
|
-
* Composite configuration representing pipeline scheduling strategies, including {@link PluginReactLynxOptions.enableParallelElement} and list batch-rendering. All newly introduced scheduling strategies will be managed by this uint64 configuration.
|
|
620
|
-
*
|
|
621
|
-
* @remarks
|
|
622
|
-
*
|
|
623
|
-
* Preallocate 64 bit unsigned integer for pipeline scheduler config.
|
|
624
|
-
*
|
|
625
|
-
* - 0 ~ 7 bit: Reserved for parsing binary bundle into C++ bundle.
|
|
626
|
-
*
|
|
627
|
-
* - 8 ~ 15 bit: Reserved for MTS Render.
|
|
628
|
-
*
|
|
629
|
-
* - 16 ~ 23 bit: Reserved for resolve stage in Pixel Pipeline.
|
|
630
|
-
*
|
|
631
|
-
* - 24 ~ 31 bit: Reserved for layout stage in Pixel Pipeline.
|
|
632
|
-
*
|
|
633
|
-
* - 32 ~ 39 bit: Reserved for execute UI OP stage in Pixel Pipeline.
|
|
634
|
-
*
|
|
635
|
-
* - 40 ~ 47 bit: Reserved for paint stage in Pixel Pipeline.
|
|
636
|
-
*
|
|
637
|
-
* - 48 ~ 63 bit: Flexible bits for extensibility.
|
|
638
|
-
*
|
|
639
|
-
* @defaultValue `0x00010000`
|
|
640
|
-
*/
|
|
641
|
-
pipelineSchedulerConfig?: number;
|
|
642
610
|
/**
|
|
643
611
|
* removeDescendantSelectorScope is used to remove the scope of descendant selectors.
|
|
644
612
|
*/
|
package/dist/index.js
CHANGED
|
@@ -284,7 +284,7 @@ const DEFAULT_DIST_PATH_INTERMEDIATE = '.rspeedy';
|
|
|
284
284
|
const DEFAULT_FILENAME_HASH = '.[contenthash:8]';
|
|
285
285
|
const EMPTY_HASH = '';
|
|
286
286
|
function applyEntry(api, options) {
|
|
287
|
-
const { compat, customCSSInheritanceList, debugInfoOutside, defaultDisplayLinear, enableAccessibilityElement, enableICU, enableCSSInheritance, enableCSSInvalidation, enableCSSSelector, enableNewGesture,
|
|
287
|
+
const { compat, customCSSInheritanceList, debugInfoOutside, defaultDisplayLinear, enableAccessibilityElement, enableICU, enableCSSInheritance, enableCSSInvalidation, enableCSSSelector, enableNewGesture, enableRemoveCSSScope, firstScreenSyncTiming, enableSSR, removeDescendantSelectorScope, targetSdkVersion, extractStr: originalExtractStr, experimental_isLazyBundle } = options;
|
|
288
288
|
const { config, logger } = api.useExposed(Symbol.for('rspeedy.api'));
|
|
289
289
|
api.modifyBundlerChain(async (chain, { environment, isDev, isProd })=>{
|
|
290
290
|
const entries = chain.entryPoints.entries() ?? {};
|
|
@@ -344,9 +344,7 @@ function applyEntry(api, options) {
|
|
|
344
344
|
enableCSSInvalidation,
|
|
345
345
|
enableCSSSelector,
|
|
346
346
|
enableNewGesture,
|
|
347
|
-
enableParallelElement,
|
|
348
347
|
enableRemoveCSSScope: enableRemoveCSSScope ?? true,
|
|
349
|
-
pipelineSchedulerConfig,
|
|
350
348
|
removeDescendantSelectorScope,
|
|
351
349
|
targetSdkVersion,
|
|
352
350
|
experimental_isLazyBundle,
|
|
@@ -609,7 +607,7 @@ function applyUseSyncExternalStore(api) {
|
|
|
609
607
|
var _accessExpressionAsString = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js");
|
|
610
608
|
var _assertGuard = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_assertGuard.js");
|
|
611
609
|
const validateConfig = (()=>{
|
|
612
|
-
const _io0 = (input, _exceptionable = true)=>(void 0 === input.compat || "object" == typeof input.compat && null !== input.compat && false === Array.isArray(input.compat) && _io1(input.compat, _exceptionable)) && (void 0 === input.customCSSInheritanceList || Array.isArray(input.customCSSInheritanceList) && input.customCSSInheritanceList.every((elem, _index1)=>"string" == typeof elem)) && (void 0 === input.debugInfoOutside || "boolean" == typeof input.debugInfoOutside) && (void 0 === input.defaultDisplayLinear || "boolean" == typeof input.defaultDisplayLinear) && (void 0 === input.enableAccessibilityElement || "boolean" == typeof input.enableAccessibilityElement) && (void 0 === input.enableICU || "boolean" == typeof input.enableICU) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance) && (void 0 === input.enableCSSInvalidation || "boolean" == typeof input.enableCSSInvalidation) && (void 0 === input.enableCSSSelector || "boolean" == typeof input.enableCSSSelector) && (void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture) && (void 0 === input.
|
|
610
|
+
const _io0 = (input, _exceptionable = true)=>(void 0 === input.compat || "object" == typeof input.compat && null !== input.compat && false === Array.isArray(input.compat) && _io1(input.compat, _exceptionable)) && (void 0 === input.customCSSInheritanceList || Array.isArray(input.customCSSInheritanceList) && input.customCSSInheritanceList.every((elem, _index1)=>"string" == typeof elem)) && (void 0 === input.debugInfoOutside || "boolean" == typeof input.debugInfoOutside) && (void 0 === input.defaultDisplayLinear || "boolean" == typeof input.defaultDisplayLinear) && (void 0 === input.enableAccessibilityElement || "boolean" == typeof input.enableAccessibilityElement) && (void 0 === input.enableICU || "boolean" == typeof input.enableICU) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance) && (void 0 === input.enableCSSInvalidation || "boolean" == typeof input.enableCSSInvalidation) && (void 0 === input.enableCSSSelector || "boolean" == typeof input.enableCSSSelector) && (void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture) && (void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope) && (void 0 === input.firstScreenSyncTiming || "immediately" === input.firstScreenSyncTiming || "jsReady" === input.firstScreenSyncTiming) && (void 0 === input.enableSSR || "boolean" == typeof input.enableSSR) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope) && (void 0 === input.shake || "object" == typeof input.shake && null !== input.shake && false === Array.isArray(input.shake) && _io4(input.shake, _exceptionable)) && (void 0 === input.defineDCE || "object" == typeof input.defineDCE && null !== input.defineDCE && false === Array.isArray(input.defineDCE) && _io5(input.defineDCE, _exceptionable)) && (void 0 === input.engineVersion || "string" == typeof input.engineVersion) && (void 0 === input.targetSdkVersion || "string" == typeof input.targetSdkVersion) && null !== input.extractStr && (void 0 === input.extractStr || "boolean" == typeof input.extractStr || "object" == typeof input.extractStr && null !== input.extractStr && false === Array.isArray(input.extractStr) && _io7(input.extractStr, _exceptionable)) && (void 0 === input.experimental_isLazyBundle || "boolean" == typeof input.experimental_isLazyBundle) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
613
611
|
if ([
|
|
614
612
|
"compat",
|
|
615
613
|
"customCSSInheritanceList",
|
|
@@ -621,11 +619,9 @@ const validateConfig = (()=>{
|
|
|
621
619
|
"enableCSSInvalidation",
|
|
622
620
|
"enableCSSSelector",
|
|
623
621
|
"enableNewGesture",
|
|
624
|
-
"enableParallelElement",
|
|
625
622
|
"enableRemoveCSSScope",
|
|
626
623
|
"firstScreenSyncTiming",
|
|
627
624
|
"enableSSR",
|
|
628
|
-
"pipelineSchedulerConfig",
|
|
629
625
|
"removeDescendantSelectorScope",
|
|
630
626
|
"shake",
|
|
631
627
|
"defineDCE",
|
|
@@ -767,11 +763,6 @@ const validateConfig = (()=>{
|
|
|
767
763
|
path: _path + ".enableNewGesture",
|
|
768
764
|
expected: "(boolean | undefined)",
|
|
769
765
|
value: input.enableNewGesture
|
|
770
|
-
}, _errorFactory)) && (void 0 === input.enableParallelElement || "boolean" == typeof input.enableParallelElement || _assertGuard._assertGuard(_exceptionable, {
|
|
771
|
-
method: "typia.createAssertEquals",
|
|
772
|
-
path: _path + ".enableParallelElement",
|
|
773
|
-
expected: "(boolean | undefined)",
|
|
774
|
-
value: input.enableParallelElement
|
|
775
766
|
}, _errorFactory)) && (void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope || _assertGuard._assertGuard(_exceptionable, {
|
|
776
767
|
method: "typia.createAssertEquals",
|
|
777
768
|
path: _path + ".enableRemoveCSSScope",
|
|
@@ -787,11 +778,6 @@ const validateConfig = (()=>{
|
|
|
787
778
|
path: _path + ".enableSSR",
|
|
788
779
|
expected: "(boolean | undefined)",
|
|
789
780
|
value: input.enableSSR
|
|
790
|
-
}, _errorFactory)) && (void 0 === input.pipelineSchedulerConfig || "number" == typeof input.pipelineSchedulerConfig || _assertGuard._assertGuard(_exceptionable, {
|
|
791
|
-
method: "typia.createAssertEquals",
|
|
792
|
-
path: _path + ".pipelineSchedulerConfig",
|
|
793
|
-
expected: "(number | undefined)",
|
|
794
|
-
value: input.pipelineSchedulerConfig
|
|
795
781
|
}, _errorFactory)) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope || _assertGuard._assertGuard(_exceptionable, {
|
|
796
782
|
method: "typia.createAssertEquals",
|
|
797
783
|
path: _path + ".removeDescendantSelectorScope",
|
|
@@ -859,11 +845,9 @@ const validateConfig = (()=>{
|
|
|
859
845
|
"enableCSSInvalidation",
|
|
860
846
|
"enableCSSSelector",
|
|
861
847
|
"enableNewGesture",
|
|
862
|
-
"enableParallelElement",
|
|
863
848
|
"enableRemoveCSSScope",
|
|
864
849
|
"firstScreenSyncTiming",
|
|
865
850
|
"enableSSR",
|
|
866
|
-
"pipelineSchedulerConfig",
|
|
867
851
|
"removeDescendantSelectorScope",
|
|
868
852
|
"shake",
|
|
869
853
|
"defineDCE",
|
|
@@ -1198,11 +1182,9 @@ function pluginReactLynx(userOptions) {
|
|
|
1198
1182
|
enableCSSInvalidation: true,
|
|
1199
1183
|
enableCSSSelector: true,
|
|
1200
1184
|
enableNewGesture: false,
|
|
1201
|
-
enableParallelElement: true,
|
|
1202
1185
|
enableRemoveCSSScope: true,
|
|
1203
1186
|
firstScreenSyncTiming: 'immediately',
|
|
1204
1187
|
enableSSR: false,
|
|
1205
|
-
pipelineSchedulerConfig: 0x00010000,
|
|
1206
1188
|
removeDescendantSelectorScope: true,
|
|
1207
1189
|
shake: void 0,
|
|
1208
1190
|
defineDCE: void 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-rsbuild-plugin-canary",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-canary-20250918-cb97ccbf",
|
|
4
4
|
"description": "A rsbuild plugin for ReactLynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rsbuild",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"README.md"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.6.
|
|
36
|
-
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.
|
|
35
|
+
"@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.6.3-canary-20250918-cb97ccbf",
|
|
36
|
+
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.11.0-canary-20250918-cb97ccbf",
|
|
37
37
|
"@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.3.4",
|
|
38
|
-
"@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.
|
|
38
|
+
"@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.1-canary-20250918-cb97ccbf",
|
|
39
39
|
"@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.3",
|
|
40
|
-
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.
|
|
40
|
+
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.9.0-canary-20250918-cb97ccbf",
|
|
41
41
|
"@lynx-js/use-sync-external-store": "npm:@lynx-js/use-sync-external-store-canary@1.5.0",
|
|
42
42
|
"background-only": "npm:background-only-canary@0.0.1"
|
|
43
43
|
},
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"type-fest": "^4.41.0",
|
|
54
54
|
"typia": "9.7.2",
|
|
55
55
|
"typia-rspack-plugin": "2.2.2",
|
|
56
|
-
"@lynx-js/react": "npm:@lynx-js/react-canary@0.
|
|
57
|
-
"@lynx-js/
|
|
58
|
-
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.
|
|
59
|
-
"@lynx-js/
|
|
56
|
+
"@lynx-js/react": "npm:@lynx-js/react-canary@0.114.0-canary-20250918-cb97ccbf",
|
|
57
|
+
"@lynx-js/react-transform": "0.2.0",
|
|
58
|
+
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.3-canary-20250918-cb97ccbf",
|
|
59
|
+
"@lynx-js/vitest-setup": "0.0.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"@lynx-js/react": "*"
|