@lynx-js/react-rsbuild-plugin-canary 0.10.7-canary-20250711-41f41540 → 0.10.8-canary-20250715-a1efa6aa
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 +13 -5
- package/dist/index.js +4 -3
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
# @lynx-js/react-rsbuild-plugin
|
|
2
2
|
|
|
3
|
-
## 0.10.
|
|
3
|
+
## 0.10.8-canary-20250715110544-a1efa6aa0874d4712f3254cb5bb011b600a96c14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Supports extractStr for large JSON ([#1230](https://github.com/lynx-family/lynx-stack/pull/1230))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.10.8-canary-20250715110544-a1efa6aa0874d4712f3254cb5bb011b600a96c14
|
|
11
|
+
|
|
12
|
+
## 0.10.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
6
15
|
|
|
7
16
|
- Support [`experiments.typeReexportsPresence`](https://rspack.rs/config/experiments#experimentstypereexportspresence). ([#1246](https://github.com/lynx-family/lynx-stack/pull/1246))
|
|
8
17
|
|
|
9
|
-
- Updated dependencies [[`d513dd9`](https://github.com/lynx-family/lynx-stack/commit/d513dd9fb7ee950f36aaaee0d62ede8072f7b031)
|
|
10
|
-
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
11
|
-
- @lynx-js/react@0.
|
|
12
|
-
- @lynx-js/react-alias-rsbuild-plugin@0.10.7-canary-20250711115528-41f4154093410f78fb898ccfe0d542dcf3b145e2
|
|
18
|
+
- Updated dependencies [[`d513dd9`](https://github.com/lynx-family/lynx-stack/commit/d513dd9fb7ee950f36aaaee0d62ede8072f7b031)]:
|
|
19
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
20
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.10.7
|
|
13
21
|
- @lynx-js/use-sync-external-store@1.5.0
|
|
14
22
|
- @lynx-js/react-webpack-plugin@0.6.18
|
|
15
23
|
|
package/dist/index.js
CHANGED
|
@@ -439,13 +439,14 @@ function getHash(config, isProd, experimental_isLazyBundle) {
|
|
|
439
439
|
if (isProd || experimental_isLazyBundle) return DEFAULT_FILENAME_HASH;
|
|
440
440
|
return EMPTY_HASH;
|
|
441
441
|
}
|
|
442
|
-
function applyGenerator(api) {
|
|
442
|
+
function applyGenerator(api, options) {
|
|
443
443
|
api.modifyBundlerChain({
|
|
444
444
|
order: 'pre',
|
|
445
445
|
handler: (chain)=>{
|
|
446
|
-
chain.module.rule(
|
|
446
|
+
const rule = chain.module.rule("react:json-parse").test(/\.json$/).type('json').generator({
|
|
447
447
|
JSONParse: false
|
|
448
448
|
});
|
|
449
|
+
if (!options.extractStr) rule.issuerLayer(LAYERS.MAIN_THREAD);
|
|
449
450
|
}
|
|
450
451
|
});
|
|
451
452
|
}
|
|
@@ -1211,7 +1212,7 @@ function pluginReactLynx(userOptions) {
|
|
|
1211
1212
|
applyCSS(api, resolvedOptions);
|
|
1212
1213
|
applyEntry(api, resolvedOptions);
|
|
1213
1214
|
applyBackgroundOnly(api);
|
|
1214
|
-
applyGenerator(api);
|
|
1215
|
+
applyGenerator(api, resolvedOptions);
|
|
1215
1216
|
applyLoaders(api, resolvedOptions);
|
|
1216
1217
|
applyRefresh(api);
|
|
1217
1218
|
applySplitChunksRule(api);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-rsbuild-plugin-canary",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.8-canary-20250715-a1efa6aa",
|
|
4
4
|
"description": "A rsbuild plugin for ReactLynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rsbuild",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.6.0",
|
|
36
|
-
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.
|
|
37
|
-
"@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.3.4
|
|
36
|
+
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.8-canary-20250715-a1efa6aa",
|
|
37
|
+
"@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.3.4",
|
|
38
38
|
"@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.6.18",
|
|
39
39
|
"@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.2",
|
|
40
40
|
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.8.1",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"type-fest": "^4.41.0",
|
|
55
55
|
"typia": "9.3.1",
|
|
56
56
|
"typia-rspack-plugin": "2.1.0",
|
|
57
|
+
"@lynx-js/react": "npm:@lynx-js/react-canary@0.111.1",
|
|
57
58
|
"@lynx-js/react-transform": "0.2.0",
|
|
58
|
-
"@lynx-js/
|
|
59
|
-
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.10.1
|
|
60
|
-
"@lynx-js/vitest-setup": "0.0.0"
|
|
59
|
+
"@lynx-js/vitest-setup": "0.0.0",
|
|
60
|
+
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.10.1"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@lynx-js/react": "*"
|