@lynx-js/react-rsbuild-plugin-canary 0.11.4-canary-20251108-3bc8903d → 0.12.0-canary-20251127-530f63a7

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,21 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.11.4-canary-20251108032102-3bc8903d11407beb7bcc465e673ef554540d4309
3
+ ## 0.12.0-canary-20251127023649-530f63a72caea364ed57ba4a8602eef5496a79cc
4
+
5
+ ### Minor Changes
6
+
7
+ - **BREAKING CHANGE**: Require `@lynx-js/rspeedy` 0.12.0. ([#1951](https://github.com/lynx-family/lynx-stack/pull/1951))
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`09adc7e`](https://github.com/lynx-family/lynx-stack/commit/09adc7e0c96d8151a45279bb5bf63552645132ad)]:
12
+ - @lynx-js/react@0.114.6-canary-20251127023649-530f63a72caea364ed57ba4a8602eef5496a79cc
13
+ - @lynx-js/react-alias-rsbuild-plugin@0.12.0-canary-20251127023649-530f63a72caea364ed57ba4a8602eef5496a79cc
14
+ - @lynx-js/use-sync-external-store@1.5.0
15
+ - @lynx-js/react-refresh-webpack-plugin@0.3.4
16
+ - @lynx-js/react-webpack-plugin@0.7.2
17
+
18
+ ## 0.11.4
4
19
 
5
20
  ### Patch Changes
6
21
 
@@ -33,10 +48,9 @@
33
48
  });
34
49
  ```
35
50
 
36
- - Updated dependencies [[`179610e`](https://github.com/lynx-family/lynx-stack/commit/179610eadaa27885b96280e937d16add750cd5f2), [`ffd193b`](https://github.com/lynx-family/lynx-stack/commit/ffd193b454439603b403c0395dbcd4b89b6f6107), [`e7d186a`](https://github.com/lynx-family/lynx-stack/commit/e7d186a6fcf08fecf18b5ab82b004b955bb1a2b3), [`0d7a4c3`](https://github.com/lynx-family/lynx-stack/commit/0d7a4c3d49d63e30d5f05c372ef99ee5cf2fcadd), [`a86df85`](https://github.com/lynx-family/lynx-stack/commit/a86df859327b435d0a0066337d4bf750c3321b45), [`d7a1d84`](https://github.com/lynx-family/lynx-stack/commit/d7a1d846d2f89aa3af9585556028adcee22e05a7)]:
37
- - @lynx-js/react@0.114.4-canary-20251108032102-3bc8903d11407beb7bcc465e673ef554540d4309
38
- - @lynx-js/react-webpack-plugin@0.7.2-canary-20251108032102-3bc8903d11407beb7bcc465e673ef554540d4309
39
- - @lynx-js/react-alias-rsbuild-plugin@0.11.4-canary-20251108032102-3bc8903d11407beb7bcc465e673ef554540d4309
51
+ - Updated dependencies [[`e7d186a`](https://github.com/lynx-family/lynx-stack/commit/e7d186a6fcf08fecf18b5ab82b004b955bb1a2b3), [`0d7a4c3`](https://github.com/lynx-family/lynx-stack/commit/0d7a4c3d49d63e30d5f05c372ef99ee5cf2fcadd)]:
52
+ - @lynx-js/react-webpack-plugin@0.7.2
53
+ - @lynx-js/react-alias-rsbuild-plugin@0.11.4
40
54
  - @lynx-js/use-sync-external-store@1.5.0
41
55
  - @lynx-js/react-refresh-webpack-plugin@0.3.4
42
56
 
@@ -1,6 +1,6 @@
1
- export const __webpack_id__ = "856";
1
+ export const __webpack_id__ = "300";
2
2
  export const __webpack_ids__ = [
3
- "856"
3
+ "300"
4
4
  ];
5
5
  export const __webpack_modules__ = {
6
6
  "./src/resolve.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
package/dist/index.js CHANGED
@@ -189,7 +189,7 @@ const ALIAS_BACKGROUND_ONLY_BACKGROUND = 'react:alias-background-only-background
189
189
  function applyBackgroundOnly(api) {
190
190
  api.modifyBundlerChain(async (chain)=>{
191
191
  const __dirname = external_node_path_["default"].dirname((0, external_node_url_.fileURLToPath)(import.meta.url));
192
- const { resolve, resolveMainThread } = await __webpack_require__.e("856").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
192
+ const { resolve, resolveMainThread } = await __webpack_require__.e("300").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
193
193
  const [backgroundOnly, backgroundOnlyMainThread] = await Promise.all([
194
194
  resolve('background-only'),
195
195
  resolveMainThread('background-only')
@@ -471,11 +471,6 @@ function applyLazy(api) {
471
471
  function applyLoaders(api, options) {
472
472
  const { compat, enableRemoveCSSScope, shake, defineDCE, engineVersion, experimental_isLazyBundle } = options;
473
473
  api.modifyBundlerChain((chain, { CHAIN_ID })=>{
474
- const experiments = chain.get('experiments');
475
- chain.experiments({
476
- ...experiments,
477
- layers: true
478
- });
479
474
  const rule = chain.module.rules.get(CHAIN_ID.RULE.JS);
480
475
  const uses = rule.uses.entries() ?? {};
481
476
  const { output } = api.getRsbuildConfig();
@@ -603,7 +598,7 @@ function applySWC(api) {
603
598
  }
604
599
  function applyUseSyncExternalStore(api) {
605
600
  api.modifyBundlerChain(async (chain)=>{
606
- const { resolve } = await __webpack_require__.e("856").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
601
+ const { resolve } = await __webpack_require__.e("300").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
607
602
  const useSyncExternalStoreEntries = [
608
603
  'use-sync-external-store',
609
604
  'use-sync-external-store/with-selector',
@@ -1229,11 +1224,6 @@ function pluginReactLynx(userOptions) {
1229
1224
  ]
1230
1225
  }
1231
1226
  });
1232
- if (void 0 === userConfig.output?.inlineScripts) config = mergeRsbuildConfig(config, {
1233
- output: {
1234
- inlineScripts: true
1235
- }
1236
- });
1237
1227
  config = mergeRsbuildConfig({
1238
1228
  tools: {
1239
1229
  rspack: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin-canary",
3
- "version": "0.11.4-canary-20251108-3bc8903d",
3
+ "version": "0.12.0-canary-20251127-530f63a7",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -33,9 +33,9 @@
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.4-canary-20251108-3bc8903d",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.12.0-canary-20251127-530f63a7",
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.2-canary-20251108-3bc8903d",
38
+ "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.2",
39
39
  "@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.3",
40
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",
@@ -44,7 +44,7 @@
44
44
  "devDependencies": {
45
45
  "@microsoft/api-extractor": "7.52.15",
46
46
  "@rollup/plugin-typescript": "^12.1.4",
47
- "@rsbuild/core": "1.5.17",
47
+ "@rsbuild/core": "1.6.7",
48
48
  "@rsbuild/plugin-sass": "1.4.0",
49
49
  "@rsbuild/plugin-typed-css-modules": "1.1.1",
50
50
  "rsbuild-plugin-arethetypeswrong": "0.1.1",
@@ -54,10 +54,10 @@
54
54
  "type-fest": "^5.0.1",
55
55
  "typia": "9.7.2",
56
56
  "typia-rspack-plugin": "2.2.2",
57
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.114.6-canary-20251127-530f63a7",
57
58
  "@lynx-js/react-transform": "0.2.0",
58
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.114.4-canary-20251108-3bc8903d",
59
- "@lynx-js/vitest-setup": "0.0.0",
60
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.9-canary-20251108-3bc8903d"
59
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.12.0",
60
+ "@lynx-js/vitest-setup": "0.0.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@lynx-js/react": "*"