@lynx-js/react-rsbuild-plugin-canary 0.10.14-canary-20250911-d6183049 → 0.10.14-canary-20250911-69b3ae03

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,15 +1,17 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.10.14-canary-20250911064255-d6183049a2f67a5ec68c2e1ef9efbdf26af4c343
3
+ ## 0.10.14-canary-20250911080823-69b3ae031a24161b8513cc804bf6b82c03da6d0c
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`2eaa867`](https://github.com/lynx-family/lynx-stack/commit/2eaa86745fc8575544cbde184f1d00fcb4efdab5), [`1935050`](https://github.com/lynx-family/lynx-stack/commit/1935050cfd8ac37cbac6ad792f3aab0eb6b250b8), [`c2f90bd`](https://github.com/lynx-family/lynx-stack/commit/c2f90bdb0ce465702b0b4a46108b16e78678225f)]:
8
- - @lynx-js/react@0.112.7-canary-20250911064255-d6183049a2f67a5ec68c2e1ef9efbdf26af4c343
9
- - @lynx-js/react-alias-rsbuild-plugin@0.10.14-canary-20250911064255-d6183049a2f67a5ec68c2e1ef9efbdf26af4c343
7
+ - Fix using wrong version of `@lynx-js/react/worklet-runtime`. ([#1711](https://github.com/lynx-family/lynx-stack/pull/1711))
8
+
9
+ - Updated dependencies [[`2eaa867`](https://github.com/lynx-family/lynx-stack/commit/2eaa86745fc8575544cbde184f1d00fcb4efdab5), [`1935050`](https://github.com/lynx-family/lynx-stack/commit/1935050cfd8ac37cbac6ad792f3aab0eb6b250b8), [`69b3ae0`](https://github.com/lynx-family/lynx-stack/commit/69b3ae031a24161b8513cc804bf6b82c03da6d0c), [`69b3ae0`](https://github.com/lynx-family/lynx-stack/commit/69b3ae031a24161b8513cc804bf6b82c03da6d0c), [`c2f90bd`](https://github.com/lynx-family/lynx-stack/commit/c2f90bdb0ce465702b0b4a46108b16e78678225f)]:
10
+ - @lynx-js/react@0.112.7-canary-20250911080823-69b3ae031a24161b8513cc804bf6b82c03da6d0c
11
+ - @lynx-js/react-webpack-plugin@0.7.0-canary-20250911080823-69b3ae031a24161b8513cc804bf6b82c03da6d0c
12
+ - @lynx-js/react-alias-rsbuild-plugin@0.10.14-canary-20250911080823-69b3ae031a24161b8513cc804bf6b82c03da6d0c
10
13
  - @lynx-js/use-sync-external-store@1.5.0
11
14
  - @lynx-js/react-refresh-webpack-plugin@0.3.4
12
- - @lynx-js/react-webpack-plugin@0.6.20
13
15
 
14
16
  ## 0.10.13
15
17
 
package/dist/index.js CHANGED
@@ -286,7 +286,7 @@ const EMPTY_HASH = '';
286
286
  function applyEntry(api, options) {
287
287
  const { compat, customCSSInheritanceList, debugInfoOutside, defaultDisplayLinear, enableAccessibilityElement, enableICU, enableCSSInheritance, enableCSSInvalidation, enableCSSSelector, enableNewGesture, enableParallelElement, enableRemoveCSSScope, firstScreenSyncTiming, enableSSR, pipelineSchedulerConfig, removeDescendantSelectorScope, targetSdkVersion, extractStr: originalExtractStr, experimental_isLazyBundle } = options;
288
288
  const { config, logger } = api.useExposed(Symbol.for('rspeedy.api'));
289
- api.modifyBundlerChain((chain, { environment, isDev, isProd })=>{
289
+ api.modifyBundlerChain(async (chain, { environment, isDev, isProd })=>{
290
290
  const entries = chain.entryPoints.entries() ?? {};
291
291
  const isLynx = 'lynx' === environment.name;
292
292
  const isWeb = 'web' === environment.name;
@@ -390,6 +390,7 @@ function applyEntry(api, options) {
390
390
  logger.warn('`extractStr` is changed to `false` because it is only supported in `all-in-one` chunkSplit strategy, please set `performance.chunkSplit.strategy` to `all-in-one` to use `extractStr.`');
391
391
  extractStr = false;
392
392
  }
393
+ const { resolve } = api.useExposed(Symbol.for('@lynx-js/react/internal:resolve'));
393
394
  chain.plugin(PLUGIN_NAME_REACT).after(PLUGIN_NAME_TEMPLATE).use(ReactWebpackPlugin, [
394
395
  {
395
396
  disableCreateSelectorQueryIncompatibleWarning: compat?.disableCreateSelectorQueryIncompatibleWarning ?? false,
@@ -398,7 +399,8 @@ function applyEntry(api, options) {
398
399
  mainThreadChunks,
399
400
  extractStr,
400
401
  experimental_isLazyBundle,
401
- profile: getDefaultProfile()
402
+ profile: getDefaultProfile(),
403
+ workletRuntimePath: await resolve(`@lynx-js/react/${isDev ? 'worklet-dev-runtime' : 'worklet-runtime'}`)
402
404
  }
403
405
  ]);
404
406
  function getDefaultProfile() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin-canary",
3
- "version": "0.10.14-canary-20250911-d6183049",
3
+ "version": "0.10.14-canary-20250911-69b3ae03",
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.2",
36
- "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.14-canary-20250911-d6183049",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.14-canary-20250911-69b3ae03",
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.6.20",
38
+ "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.0-canary-20250911-69b3ae03",
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.8.5",
41
41
  "@lynx-js/use-sync-external-store": "npm:@lynx-js/use-sync-external-store-canary@1.5.0",
@@ -54,8 +54,8 @@
54
54
  "typia": "9.7.2",
55
55
  "typia-rspack-plugin": "2.2.2",
56
56
  "@lynx-js/react-transform": "0.2.0",
57
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.112.7-canary-20250911-d6183049",
58
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.2-canary-20250911-d6183049",
57
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.2-canary-20250911-69b3ae03",
58
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.112.7-canary-20250911-69b3ae03",
59
59
  "@lynx-js/vitest-setup": "0.0.0"
60
60
  },
61
61
  "peerDependencies": {