@lynx-js/react-alias-rsbuild-plugin-canary 0.17.2 → 0.17.3-canary-20260706-db543ea9

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @lynx-js/react-alias-rsbuild-plugin
2
2
 
3
+ ## 0.17.3-canary-20260706063705-db543ea9be725eb343cd6c2c4b0fc0785ab6a3d1
4
+
3
5
  ## 0.17.2
4
6
 
5
7
  ### Patch Changes
@@ -7,7 +9,6 @@
7
9
  - Support enabling preact devtools in production via the `REACT_DEVTOOL` environment variable. ([#2880](https://github.com/lynx-family/lynx-stack/pull/2880))
8
10
 
9
11
  By default `@lynx-js/preact-devtools` is aliased away in production builds. Setting the `REACT_DEVTOOL` environment variable now:
10
-
11
12
  1. keeps a user-imported `@lynx-js/preact-devtools` from being stripped;
12
13
  2. defines `__REACT_DEVTOOL__`, which gates the dev-only runtime hooks devtools depends on (such as `injectLepusMethods`) so they also run in production;
13
14
  3. keeps function/class names during minification (`keep_fnames`/`keep_classnames`), which devtools needs to resolve component names (`type.name`) and to reconstruct the hook tree (it matches minified stack frames by function name).
@@ -96,15 +97,15 @@
96
97
  - Allow customization of the react$ alias. ([#1653](https://github.com/lynx-family/lynx-stack/pull/1653))
97
98
 
98
99
  ```js
99
- import { defineConfig } from '@lynx-js/rspeedy'
100
+ import { defineConfig } from "@lynx-js/rspeedy";
100
101
 
101
102
  export default defineConfig({
102
103
  resolve: {
103
104
  alias: {
104
- react$: '@lynx-js/react/compat',
105
+ react$: "@lynx-js/react/compat",
105
106
  },
106
107
  },
107
- })
108
+ });
108
109
  ```
109
110
 
110
111
  ## 0.10.13
@@ -172,7 +173,6 @@
172
173
  - Refactor: Replace built-in `background-only` implementation with npm package ([#602](https://github.com/lynx-family/lynx-stack/pull/602))
173
174
 
174
175
  Previously we maintained custom files:
175
-
176
176
  - `empty.ts` for background thread
177
177
  - `error.ts` for main thread validation
178
178
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-alias-rsbuild-plugin-canary",
3
- "version": "0.17.2",
3
+ "version": "0.17.3-canary-20260706-db543ea9",
4
4
  "description": "A rsbuild plugin for making alias in ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",