@lynx-js/react-rsbuild-plugin-canary 0.10.0-canary-20250523-5ddec124 → 0.10.1-canary-20250526-06f2fa10

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 CHANGED
@@ -1,6 +1,15 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.10.0-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
3
+ ## 0.10.1-canary-20250526102746-06f2fa10ef3880495c80d25680163a8f41f7462a
4
+
5
+ ### Patch Changes
6
+
7
+ - The default value of `output.inlineScripts` should be `true` on `@lynx-js/rspeedy` <= v0.9.6. ([#914](https://github.com/lynx-family/lynx-stack/pull/914))
8
+
9
+ - Updated dependencies []:
10
+ - @lynx-js/react-alias-rsbuild-plugin@0.10.1-canary-20250526102746-06f2fa10ef3880495c80d25680163a8f41f7462a
11
+
12
+ ## 0.10.0
4
13
 
5
14
  ### Minor Changes
6
15
 
@@ -28,13 +37,12 @@
28
37
 
29
38
  - Use `WebEncodePlugin` instead of `WebWebpackPlugin`. ([#904](https://github.com/lynx-family/lynx-stack/pull/904))
30
39
 
31
- - Updated dependencies [[`7beb35e`](https://github.com/lynx-family/lynx-stack/commit/7beb35ebf72f9475c0a200c93c6b9bdaa7980e1b), [`26b75df`](https://github.com/lynx-family/lynx-stack/commit/26b75df8ccc1a2a6d519a12b857bbf6494ef1313), [`d3967c0`](https://github.com/lynx-family/lynx-stack/commit/d3967c037da4f4b57980e4938095329a6045bfa7), [`b6e27da`](https://github.com/lynx-family/lynx-stack/commit/b6e27daf865b0627b1c3238228a4fdf65ad87ee3), [`5ddec12`](https://github.com/lynx-family/lynx-stack/commit/5ddec124ab26e61e415576d575a400e76c7bd8d2), [`d3967c0`](https://github.com/lynx-family/lynx-stack/commit/d3967c037da4f4b57980e4938095329a6045bfa7), [`77524bc`](https://github.com/lynx-family/lynx-stack/commit/77524bcf502675a182923823bf5c892846e0c729), [`998a13d`](https://github.com/lynx-family/lynx-stack/commit/998a13dc7d0082b3328151da49d24a557a4d7991), [`fdab5dc`](https://github.com/lynx-family/lynx-stack/commit/fdab5dc9d624de0b39957695599cc8eebab90973), [`3520031`](https://github.com/lynx-family/lynx-stack/commit/352003113596692c34d98644db401ece362bc936), [`ff63b58`](https://github.com/lynx-family/lynx-stack/commit/ff63b58af137be5265458cb08db9af0aaa69c416), [`fdab5dc`](https://github.com/lynx-family/lynx-stack/commit/fdab5dc9d624de0b39957695599cc8eebab90973), [`2b83934`](https://github.com/lynx-family/lynx-stack/commit/2b83934f12c9ad9ed46ef76233d5bb12a1e6af23), [`3520031`](https://github.com/lynx-family/lynx-stack/commit/352003113596692c34d98644db401ece362bc936)]:
32
- - @lynx-js/template-webpack-plugin@0.7.0-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
33
- - @lynx-js/react@0.109.0-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
34
- - @lynx-js/css-extract-webpack-plugin@0.5.4-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
35
- - @lynx-js/react-refresh-webpack-plugin@0.3.3-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
36
- - @lynx-js/react-webpack-plugin@0.6.14-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
37
- - @lynx-js/react-alias-rsbuild-plugin@0.10.0-canary-20250523154624-5ddec124ab26e61e415576d575a400e76c7bd8d2
40
+ - Updated dependencies [[`7beb35e`](https://github.com/lynx-family/lynx-stack/commit/7beb35ebf72f9475c0a200c93c6b9bdaa7980e1b), [`b6e27da`](https://github.com/lynx-family/lynx-stack/commit/b6e27daf865b0627b1c3238228a4fdf65ad87ee3), [`5ddec12`](https://github.com/lynx-family/lynx-stack/commit/5ddec124ab26e61e415576d575a400e76c7bd8d2), [`77524bc`](https://github.com/lynx-family/lynx-stack/commit/77524bcf502675a182923823bf5c892846e0c729), [`fdab5dc`](https://github.com/lynx-family/lynx-stack/commit/fdab5dc9d624de0b39957695599cc8eebab90973), [`ff63b58`](https://github.com/lynx-family/lynx-stack/commit/ff63b58af137be5265458cb08db9af0aaa69c416), [`fdab5dc`](https://github.com/lynx-family/lynx-stack/commit/fdab5dc9d624de0b39957695599cc8eebab90973), [`2b83934`](https://github.com/lynx-family/lynx-stack/commit/2b83934f12c9ad9ed46ef76233d5bb12a1e6af23), [`3520031`](https://github.com/lynx-family/lynx-stack/commit/352003113596692c34d98644db401ece362bc936)]:
41
+ - @lynx-js/template-webpack-plugin@0.7.0
42
+ - @lynx-js/css-extract-webpack-plugin@0.5.4
43
+ - @lynx-js/react-refresh-webpack-plugin@0.3.3
44
+ - @lynx-js/react-webpack-plugin@0.6.14
45
+ - @lynx-js/react-alias-rsbuild-plugin@0.10.0
38
46
 
39
47
  ## 0.9.10
40
48
 
package/dist/index.js CHANGED
@@ -1146,13 +1146,18 @@ function pluginReactLynx(userOptions) {
1146
1146
  applySWC(api);
1147
1147
  api.modifyRsbuildConfig((config, { mergeRsbuildConfig })=>{
1148
1148
  const userConfig = api.getRsbuildConfig('original');
1149
- if (void 0 === userConfig.source?.include) return mergeRsbuildConfig(config, {
1149
+ if (void 0 === userConfig.source?.include) config = mergeRsbuildConfig(config, {
1150
1150
  source: {
1151
1151
  include: [
1152
1152
  /\.(?:js|mjs|cjs)$/
1153
1153
  ]
1154
1154
  }
1155
1155
  });
1156
+ if (void 0 === userConfig.output?.inlineScripts) config = mergeRsbuildConfig(config, {
1157
+ output: {
1158
+ inlineScripts: true
1159
+ }
1160
+ });
1156
1161
  return config;
1157
1162
  });
1158
1163
  if (resolvedOptions.experimental_isLazyBundle) applyLazy(api);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin-canary",
3
- "version": "0.10.0-canary-20250523-5ddec124",
3
+ "version": "0.10.1-canary-20250526-06f2fa10",
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.5.4-canary-20250523-5ddec124",
36
- "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.0-canary-20250523-5ddec124",
37
- "@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.3.3-canary-20250523-5ddec124",
38
- "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.6.14-canary-20250523-5ddec124",
35
+ "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.5.4",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.1-canary-20250526-06f2fa10",
37
+ "@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.3.3",
38
+ "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.6.14",
39
39
  "@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.0",
40
- "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.7.0-canary-20250523-5ddec124",
40
+ "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.7.0",
41
41
  "background-only": "npm:background-only-canary@0.0.1"
42
42
  },
43
43
  "devDependencies": {
@@ -53,10 +53,10 @@
53
53
  "type-fest": "^4.41.0",
54
54
  "typia": "9.3.1",
55
55
  "typia-rspack-plugin": "2.1.0",
56
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.109.0",
57
+ "@lynx-js/vitest-setup": "0.0.0",
56
58
  "@lynx-js/react-transform": "0.2.0",
57
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.109.0-canary-20250523-5ddec124",
58
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.9.6-canary-20250523-5ddec124",
59
- "@lynx-js/vitest-setup": "0.0.0"
59
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.9.7-canary-20250526-06f2fa10"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@lynx-js/react": "*"