@lynx-js/react-rsbuild-plugin-canary 0.11.3-canary-20251030-53eed0a5 → 0.11.4-canary-20251103-0d7a4c3d
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 +16 -3
- package/dist/index.js +4 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,27 @@
|
|
|
1
1
|
# @lynx-js/react-rsbuild-plugin
|
|
2
2
|
|
|
3
|
-
## 0.11.
|
|
3
|
+
## 0.11.4-canary-20251103073213-0d7a4c3d49d63e30d5f05c372ef99ee5cf2fcadd
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- When engineVersion is greater than or equal to 3.1, use `__SetAttribute` to set text attribute for text node instead of creating a raw text node. ([#1880](https://github.com/lynx-family/lynx-stack/pull/1880))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`0d7a4c3`](https://github.com/lynx-family/lynx-stack/commit/0d7a4c3d49d63e30d5f05c372ef99ee5cf2fcadd)]:
|
|
10
|
+
- @lynx-js/react-webpack-plugin@0.7.2-canary-20251103073213-0d7a4c3d49d63e30d5f05c372ef99ee5cf2fcadd
|
|
11
|
+
- @lynx-js/react@0.114.4-canary-20251103073213-0d7a4c3d49d63e30d5f05c372ef99ee5cf2fcadd
|
|
12
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.11.4-canary-20251103073213-0d7a4c3d49d63e30d5f05c372ef99ee5cf2fcadd
|
|
13
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
14
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
15
|
+
|
|
16
|
+
## 0.11.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
6
19
|
|
|
7
20
|
- Updated dependencies [[`96545dd`](https://github.com/lynx-family/lynx-stack/commit/96545dd9f966c07aa64437aefc781a9f3e260861)]:
|
|
8
|
-
- @lynx-js/template-webpack-plugin@0.9.1
|
|
21
|
+
- @lynx-js/template-webpack-plugin@0.9.1
|
|
9
22
|
- @lynx-js/css-extract-webpack-plugin@0.6.4
|
|
10
23
|
- @lynx-js/react-webpack-plugin@0.7.1
|
|
11
|
-
- @lynx-js/react-alias-rsbuild-plugin@0.11.3
|
|
24
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.11.3
|
|
12
25
|
|
|
13
26
|
## 0.11.2
|
|
14
27
|
|
package/dist/index.js
CHANGED
|
@@ -469,7 +469,7 @@ function applyLazy(api) {
|
|
|
469
469
|
});
|
|
470
470
|
}
|
|
471
471
|
function applyLoaders(api, options) {
|
|
472
|
-
const { compat, enableRemoveCSSScope, shake, defineDCE, experimental_isLazyBundle } = options;
|
|
472
|
+
const { compat, enableRemoveCSSScope, shake, defineDCE, engineVersion, experimental_isLazyBundle } = options;
|
|
473
473
|
api.modifyBundlerChain((chain, { CHAIN_ID })=>{
|
|
474
474
|
const experiments = chain.get('experiments');
|
|
475
475
|
chain.experiments({
|
|
@@ -486,7 +486,8 @@ function applyLoaders(api, options) {
|
|
|
486
486
|
enableRemoveCSSScope,
|
|
487
487
|
isDynamicComponent: experimental_isLazyBundle,
|
|
488
488
|
inlineSourcesContent,
|
|
489
|
-
defineDCE
|
|
489
|
+
defineDCE,
|
|
490
|
+
engineVersion
|
|
490
491
|
}).end();
|
|
491
492
|
const mainThreadRule = rule.oneOf(LAYERS.MAIN_THREAD);
|
|
492
493
|
mainThreadRule.issuerLayer(LAYERS.MAIN_THREAD).uses.merge(uses).end().when(void 0 !== uses[CHAIN_ID.USE.SWC], (rule)=>{
|
|
@@ -505,6 +506,7 @@ function applyLoaders(api, options) {
|
|
|
505
506
|
enableRemoveCSSScope,
|
|
506
507
|
inlineSourcesContent,
|
|
507
508
|
isDynamicComponent: experimental_isLazyBundle,
|
|
509
|
+
engineVersion,
|
|
508
510
|
shake,
|
|
509
511
|
defineDCE
|
|
510
512
|
}).end();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-rsbuild-plugin-canary",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4-canary-20251103-0d7a4c3d",
|
|
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.4",
|
|
36
|
-
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.11.
|
|
36
|
+
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.11.4-canary-20251103-0d7a4c3d",
|
|
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.2-canary-20251103-0d7a4c3d",
|
|
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.9.1
|
|
40
|
+
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.9.1",
|
|
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": "^5.0.1",
|
|
54
54
|
"typia": "9.7.2",
|
|
55
55
|
"typia-rspack-plugin": "2.2.2",
|
|
56
|
+
"@lynx-js/react": "npm:@lynx-js/react-canary@0.114.4-canary-20251103-0d7a4c3d",
|
|
56
57
|
"@lynx-js/react-transform": "0.2.0",
|
|
57
|
-
"@lynx-js/react": "npm:@lynx-js/react-canary@0.114.3",
|
|
58
58
|
"@lynx-js/vitest-setup": "0.0.0",
|
|
59
|
-
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.8
|
|
59
|
+
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.8"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"@lynx-js/react": "*"
|