@lynx-js/react-rsbuild-plugin-canary 0.10.13-canary-20250821-839e9492 → 0.10.13-canary-20250821-1411de64
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 +11 -4
- package/dist/index.js +1 -3
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
# @lynx-js/react-rsbuild-plugin
|
|
2
2
|
|
|
3
|
-
## 0.10.13-canary-
|
|
3
|
+
## 0.10.13-canary-20250821130731-1411de64c828e8b73b87091b49d4f4c8509401cd
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Support using multiple times in different environments. ([#1498](https://github.com/lynx-family/lynx-stack/pull/1498))
|
|
8
8
|
|
|
9
|
+
- Support caching Lynx native events when chunk splitting is enabled. ([#1370](https://github.com/lynx-family/lynx-stack/pull/1370))
|
|
10
|
+
|
|
11
|
+
When `performance.chunkSplit.strategy` is not `all-in-one`, Lynx native events are cached until the BTS chunk is fully loaded and are replayed when that chunk is ready. The `firstScreenSyncTiming` flag will no longer change to `jsReady` anymore.
|
|
12
|
+
|
|
9
13
|
- Updated dependencies [[`f0d483c`](https://github.com/lynx-family/lynx-stack/commit/f0d483ca2d3e208a618727590061b0babc075737), [`839e949`](https://github.com/lynx-family/lynx-stack/commit/839e9492a3ee7b0ae2f5981dc7f8acb0116cddf4), [`a753712`](https://github.com/lynx-family/lynx-stack/commit/a7537125cf7a9bd25ba2d94872496f8783310079), [`6095aa8`](https://github.com/lynx-family/lynx-stack/commit/6095aa88f33a502027ede270b182275af4101d0e), [`e0c0b3a`](https://github.com/lynx-family/lynx-stack/commit/e0c0b3a0109d90f3a8cee6825d70c59e36f968be)]:
|
|
10
|
-
- @lynx-js/react-alias-rsbuild-plugin@0.10.13-canary-
|
|
11
|
-
- @lynx-js/react@0.112.4-canary-
|
|
14
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.10.13-canary-20250821130731-1411de64c828e8b73b87091b49d4f4c8509401cd
|
|
15
|
+
- @lynx-js/react@0.112.4-canary-20250821130731-1411de64c828e8b73b87091b49d4f4c8509401cd
|
|
16
|
+
- @lynx-js/react-webpack-plugin@0.6.20-canary-20250821130731-1411de64c828e8b73b87091b49d4f4c8509401cd
|
|
17
|
+
- @lynx-js/runtime-wrapper-webpack-plugin@0.1.3-canary-20250821130731-1411de64c828e8b73b87091b49d4f4c8509401cd
|
|
18
|
+
- @lynx-js/template-webpack-plugin@0.8.5-canary-20250821130731-1411de64c828e8b73b87091b49d4f4c8509401cd
|
|
12
19
|
- @lynx-js/use-sync-external-store@1.5.0
|
|
13
20
|
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
14
|
-
- @lynx-js/
|
|
21
|
+
- @lynx-js/css-extract-webpack-plugin@0.6.2
|
|
15
22
|
|
|
16
23
|
## 0.10.12
|
|
17
24
|
|
package/dist/index.js
CHANGED
|
@@ -351,11 +351,9 @@ function applyEntry(api, options) {
|
|
|
351
351
|
const rsbuildConfig = api.getRsbuildConfig();
|
|
352
352
|
const userConfig = api.getRsbuildConfig('original');
|
|
353
353
|
const enableChunkSplitting = rsbuildConfig.performance?.chunkSplit?.strategy !== 'all-in-one';
|
|
354
|
-
let finalFirstScreenSyncTiming = firstScreenSyncTiming;
|
|
355
354
|
if (isLynx) {
|
|
356
355
|
let inlineScripts;
|
|
357
356
|
inlineScripts = experimental_isLazyBundle ? true : environment.config.output?.inlineScripts ?? !enableChunkSplitting;
|
|
358
|
-
if (true !== inlineScripts) finalFirstScreenSyncTiming = 'jsReady';
|
|
359
357
|
chain.plugin(PLUGIN_NAME_RUNTIME_WRAPPER).use(RuntimeWrapperWebpackPlugin, [
|
|
360
358
|
{
|
|
361
359
|
injectVars (vars) {
|
|
@@ -389,7 +387,7 @@ function applyEntry(api, options) {
|
|
|
389
387
|
chain.plugin(PLUGIN_NAME_REACT).after(PLUGIN_NAME_TEMPLATE).use(ReactWebpackPlugin, [
|
|
390
388
|
{
|
|
391
389
|
disableCreateSelectorQueryIncompatibleWarning: compat?.disableCreateSelectorQueryIncompatibleWarning ?? false,
|
|
392
|
-
firstScreenSyncTiming
|
|
390
|
+
firstScreenSyncTiming,
|
|
393
391
|
enableSSR,
|
|
394
392
|
mainThreadChunks,
|
|
395
393
|
extractStr,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-rsbuild-plugin-canary",
|
|
3
|
-
"version": "0.10.13-canary-20250821-
|
|
3
|
+
"version": "0.10.13-canary-20250821-1411de64",
|
|
4
4
|
"description": "A rsbuild plugin for ReactLynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rsbuild",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.6.2",
|
|
36
|
-
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.13-canary-20250821-
|
|
36
|
+
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.13-canary-20250821-1411de64",
|
|
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.6.
|
|
39
|
-
"@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.
|
|
40
|
-
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.8.
|
|
38
|
+
"@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.6.20-canary-20250821-1411de64",
|
|
39
|
+
"@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.3-canary-20250821-1411de64",
|
|
40
|
+
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.8.5-canary-20250821-1411de64",
|
|
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.1",
|
|
55
55
|
"typia-rspack-plugin": "2.2.1",
|
|
56
|
+
"@lynx-js/react": "npm:@lynx-js/react-canary@0.112.4-canary-20250821-1411de64",
|
|
56
57
|
"@lynx-js/react-transform": "0.2.0",
|
|
57
|
-
"@lynx-js/react": "npm:@lynx-js/react-canary@0.112.4-canary-20250821-839e9492",
|
|
58
58
|
"@lynx-js/vitest-setup": "0.0.0",
|
|
59
|
-
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.10.8-canary-20250821-
|
|
59
|
+
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.10.8-canary-20250821-1411de64"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"@lynx-js/react": "*"
|