@lynx-js/react-rsbuild-plugin-canary 0.10.8-canary-20250717-b5b742b8 → 0.10.8-canary-20250717-6af75c14

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,17 +1,19 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.10.8-canary-20250717094837-b5b742b8206218c6a211895260835dc825127448
3
+ ## 0.10.8-canary-20250717124123-6af75c14e325404d0f3a8635ebc5e82784a2ec6d
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - Fix "TypeError: cannot read property 'call' of undefined" error during HMR updates. ([#1304](https://github.com/lynx-family/lynx-stack/pull/1304))
8
+
7
9
  - Supports extractStr for large JSON ([#1230](https://github.com/lynx-family/lynx-stack/pull/1230))
8
10
 
9
11
  - Change `extractStr` to `false` when `performance.chunkSplit.strategy` is not `all-in-one`. ([#1251](https://github.com/lynx-family/lynx-stack/pull/1251))
10
12
 
11
13
  - Updated dependencies [[`4134760`](https://github.com/lynx-family/lynx-stack/commit/4134760890cdec2e258b49cd816175e450867e69), [`6ad7295`](https://github.com/lynx-family/lynx-stack/commit/6ad72951a89e1d00b713f560e10f85761ed66204), [`cb7feb6`](https://github.com/lynx-family/lynx-stack/commit/cb7feb6e8cc9f4b83ac3147bd3e5a82059caa06a), [`1be21a5`](https://github.com/lynx-family/lynx-stack/commit/1be21a58603e53b80b34d01f9c6da4d025f16ab8)]:
12
- - @lynx-js/react@0.111.2-canary-20250717094837-b5b742b8206218c6a211895260835dc825127448
13
- - @lynx-js/template-webpack-plugin@0.8.2-canary-20250717094837-b5b742b8206218c6a211895260835dc825127448
14
- - @lynx-js/react-alias-rsbuild-plugin@0.10.8-canary-20250717094837-b5b742b8206218c6a211895260835dc825127448
14
+ - @lynx-js/react@0.111.2-canary-20250717124123-6af75c14e325404d0f3a8635ebc5e82784a2ec6d
15
+ - @lynx-js/template-webpack-plugin@0.8.2-canary-20250717124123-6af75c14e325404d0f3a8635ebc5e82784a2ec6d
16
+ - @lynx-js/react-alias-rsbuild-plugin@0.10.8-canary-20250717124123-6af75c14e325404d0f3a8635ebc5e82784a2ec6d
15
17
  - @lynx-js/use-sync-external-store@1.5.0
16
18
  - @lynx-js/react-refresh-webpack-plugin@0.3.4
17
19
  - @lynx-js/react-webpack-plugin@0.6.18
package/dist/index.js CHANGED
@@ -519,7 +519,7 @@ function applyRefresh(api) {
519
519
  });
520
520
  }
521
521
  function applyRefreshRules(chain, CHAIN_ID, ReactRefreshPlugin) {
522
- chain.plugin(PLUGIN_NAME_REACT_REFRESH).before(CHAIN_ID.PLUGIN.HMR).use(ReactRefreshPlugin).end().module.rule('react:refresh').after(CHAIN_ID.RULE.JS).test(/\.[jt]sx$/).exclude.add(/node_modules/).add(external_node_path_["default"].dirname(refresh_require.resolve('@lynx-js/react/package.json'))).add(external_node_path_["default"].dirname(refresh_require.resolve('@lynx-js/react/refresh'))).add(external_node_path_["default"].dirname(refresh_require.resolve('@lynx-js/react/worklet-runtime'))).add(ReactRefreshPlugin.loader).end().use('ReactRefresh').loader(ReactRefreshPlugin.loader).options({}).end().end().end().end();
522
+ chain.plugin(PLUGIN_NAME_REACT_REFRESH).before(CHAIN_ID.PLUGIN.HMR).use(ReactRefreshPlugin).end().module.rule('react:refresh').issuerLayer(LAYERS.BACKGROUND).before(CHAIN_ID.RULE.JS).test(/\.[jt]sx$/).exclude.add(/node_modules/).add(external_node_path_["default"].dirname(refresh_require.resolve('@lynx-js/react/package.json'))).add(external_node_path_["default"].dirname(refresh_require.resolve('@lynx-js/react/refresh'))).add(external_node_path_["default"].dirname(refresh_require.resolve('@lynx-js/react/worklet-runtime'))).add(ReactRefreshPlugin.loader).end().use('ReactRefresh').loader(ReactRefreshPlugin.loader).options({}).end().end().end().end();
523
523
  }
524
524
  const isPlainObject = (obj)=>null !== obj && 'object' == typeof obj && '[object Object]' === Object.prototype.toString.call(obj);
525
525
  const 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.8-canary-20250717-b5b742b8",
3
+ "version": "0.10.8-canary-20250717-6af75c14",
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.0",
36
- "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.8-canary-20250717-b5b742b8",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.8-canary-20250717-6af75c14",
37
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
- "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.8.2-canary-20250717-b5b742b8",
40
+ "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.8.2-canary-20250717-6af75c14",
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
  },
@@ -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.2-canary-20250717-b5b742b8",
58
57
  "@lynx-js/react-transform": "0.2.0",
59
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.10.2-canary-20250717-b5b742b8",
60
- "@lynx-js/vitest-setup": "0.0.0"
58
+ "@lynx-js/vitest-setup": "0.0.0",
59
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.111.2-canary-20250717-6af75c14",
60
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.10.2-canary-20250717-6af75c14"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@lynx-js/react": "*"