@lynx-js/react-rsbuild-plugin-canary 1.0.0-canary-20250918-9c8321cb → 1.0.0-canary-20260116-ce265e8f
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 +174 -7
- package/dist/208.js +1193 -0
- package/dist/300.js +21 -0
- package/dist/index.d.ts +10 -10
- package/dist/index.js +1 -1257
- package/dist/loaders/ignore-css-loader.js +1 -1
- package/dist/loaders/invalid-import-error-loader.js +1 -1
- package/dist/rslib-runtime.js +39 -0
- package/package.json +17 -15
- package/dist/856.js +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,170 @@
|
|
|
1
1
|
# @lynx-js/react-rsbuild-plugin
|
|
2
2
|
|
|
3
|
-
## 1.0.0-canary-
|
|
3
|
+
## 1.0.0-canary-20260116085656-ce265e8ff3d1a19e2f5b1b689fcb136c18c7913d
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`a7a2ad7`](https://github.com/lynx-family/lynx-stack/commit/a7a2ad79c02c7051f7ae46b2e3cc63484decc101), [`4cd7182`](https://github.com/lynx-family/lynx-stack/commit/4cd71828a073e27ac3a2f5accded53e42e663215)]:
|
|
8
|
+
- @lynx-js/react@0.116.0-canary-20260116085656-ce265e8ff3d1a19e2f5b1b689fcb136c18c7913d
|
|
9
|
+
- @lynx-js/template-webpack-plugin@0.10.2-canary-20260116085656-ce265e8ff3d1a19e2f5b1b689fcb136c18c7913d
|
|
10
|
+
- @lynx-js/react-alias-rsbuild-plugin@1.0.0-canary-20260116085656-ce265e8ff3d1a19e2f5b1b689fcb136c18c7913d
|
|
11
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
12
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
13
|
+
- @lynx-js/react-webpack-plugin@0.7.3
|
|
14
|
+
- @lynx-js/css-extract-webpack-plugin@0.7.0
|
|
15
|
+
|
|
16
|
+
## 0.12.5
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Support reading config from `pluginLynxConfig`. ([#2054](https://github.com/lynx-family/lynx-stack/pull/2054))
|
|
21
|
+
|
|
22
|
+
- Updated dependencies []:
|
|
23
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.12.5
|
|
24
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
25
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
26
|
+
- @lynx-js/react-webpack-plugin@0.7.3
|
|
27
|
+
|
|
28
|
+
## 0.12.4
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- ([#2051](https://github.com/lynx-family/lynx-stack/pull/2051))
|
|
33
|
+
|
|
34
|
+
- Updated dependencies []:
|
|
35
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.12.4
|
|
36
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
37
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
38
|
+
- @lynx-js/react-webpack-plugin@0.7.3
|
|
39
|
+
|
|
40
|
+
## 0.12.3
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- expose LAYERS via `api.expose` for other rsbuild plugins. ([#2006](https://github.com/lynx-family/lynx-stack/pull/2006))
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [[`cd89bf9`](https://github.com/lynx-family/lynx-stack/commit/cd89bf9e3fc8ed4658dfb6c983584376416d620f)]:
|
|
47
|
+
- @lynx-js/template-webpack-plugin@0.10.1
|
|
48
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.12.3
|
|
49
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
50
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
51
|
+
- @lynx-js/react-webpack-plugin@0.7.3
|
|
52
|
+
- @lynx-js/css-extract-webpack-plugin@0.7.0
|
|
53
|
+
|
|
54
|
+
## 0.12.2
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- Support environment variants to enable multiple configurations for the same targets. ([#1969](https://github.com/lynx-family/lynx-stack/pull/1969))
|
|
59
|
+
|
|
60
|
+
- Updated dependencies []:
|
|
61
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.12.2
|
|
62
|
+
|
|
63
|
+
## 0.12.1
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- Avoid injecting hot update runtime when dev.hmr or dev.liveReload is set to false. ([#1980](https://github.com/lynx-family/lynx-stack/pull/1980))
|
|
68
|
+
|
|
69
|
+
- Updated dependencies [[`553ece1`](https://github.com/lynx-family/lynx-stack/commit/553ece1e025b1f4feae353310c21b2e159f1f03a), [`8cdb69d`](https://github.com/lynx-family/lynx-stack/commit/8cdb69d4b2cc3e9925a2494ee8a889d7af17e2e9), [`8cdb69d`](https://github.com/lynx-family/lynx-stack/commit/8cdb69d4b2cc3e9925a2494ee8a889d7af17e2e9)]:
|
|
70
|
+
- @lynx-js/react-webpack-plugin@0.7.3
|
|
71
|
+
- @lynx-js/css-extract-webpack-plugin@0.7.0
|
|
72
|
+
- @lynx-js/template-webpack-plugin@0.10.0
|
|
73
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.12.1
|
|
74
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
75
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
76
|
+
|
|
77
|
+
## 0.12.0
|
|
78
|
+
|
|
79
|
+
### Minor Changes
|
|
80
|
+
|
|
81
|
+
- **BREAKING CHANGE**: Require `@lynx-js/rspeedy` 0.12.0. ([#1951](https://github.com/lynx-family/lynx-stack/pull/1951))
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- Support Yarn Plug'n'Play. ([#1964](https://github.com/lynx-family/lynx-stack/pull/1964))
|
|
86
|
+
|
|
87
|
+
- Updated dependencies [[`738d44d`](https://github.com/lynx-family/lynx-stack/commit/738d44d685870d7c3f64a1be7139e8d7af498feb), [`5bbb439`](https://github.com/lynx-family/lynx-stack/commit/5bbb43981580f917f59819cd4ff7972b9737a341), [`3692a16`](https://github.com/lynx-family/lynx-stack/commit/3692a169ae443124de0e9f7a288318f5dfba13b0), [`d2e290b`](https://github.com/lynx-family/lynx-stack/commit/d2e290b67971ead5bedbcc1e34dd7f3bf4a6f5f3), [`738d44d`](https://github.com/lynx-family/lynx-stack/commit/738d44d685870d7c3f64a1be7139e8d7af498feb)]:
|
|
88
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.12.0
|
|
89
|
+
- @lynx-js/css-extract-webpack-plugin@0.6.5
|
|
90
|
+
- @lynx-js/template-webpack-plugin@0.9.2
|
|
91
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
92
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
93
|
+
- @lynx-js/react-webpack-plugin@0.7.2
|
|
94
|
+
|
|
95
|
+
## 0.11.4
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- When engineVersion is greater than or equal to 3.1, use `__SetAttribute` to set text attribute for text node instead of creating a raw text node. ([#1880](https://github.com/lynx-family/lynx-stack/pull/1880))
|
|
100
|
+
|
|
101
|
+
- Add `react-compiler-runtime` to `resolve.dedupe`. ([#1269](https://github.com/lynx-family/lynx-stack/pull/1269))
|
|
102
|
+
|
|
103
|
+
With this change you can setup [React Compiler](https://react.dev/learn/react-compiler) for ReactLynx by `pluginBabel`:
|
|
104
|
+
|
|
105
|
+
```js
|
|
106
|
+
import { defineConfig } from "@lynx-js/rspeedy";
|
|
107
|
+
import { pluginBabel } from "@rsbuild/plugin-babel";
|
|
108
|
+
|
|
109
|
+
export default defineConfig({
|
|
110
|
+
plugins: [
|
|
111
|
+
pluginBabel({
|
|
112
|
+
include: /\.(?:jsx|tsx)$/,
|
|
113
|
+
babelLoaderOptions(opts) {
|
|
114
|
+
opts.plugins?.unshift([
|
|
115
|
+
"babel-plugin-react-compiler",
|
|
116
|
+
// See https://react.dev/reference/react-compiler/configuration for config
|
|
117
|
+
{
|
|
118
|
+
// ReactLynx only supports target to version 17
|
|
119
|
+
target: "17",
|
|
120
|
+
},
|
|
121
|
+
]);
|
|
122
|
+
},
|
|
123
|
+
}),
|
|
124
|
+
],
|
|
125
|
+
});
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
- Updated dependencies [[`e7d186a`](https://github.com/lynx-family/lynx-stack/commit/e7d186a6fcf08fecf18b5ab82b004b955bb1a2b3), [`0d7a4c3`](https://github.com/lynx-family/lynx-stack/commit/0d7a4c3d49d63e30d5f05c372ef99ee5cf2fcadd)]:
|
|
129
|
+
- @lynx-js/react-webpack-plugin@0.7.2
|
|
130
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.11.4
|
|
131
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
132
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
133
|
+
|
|
134
|
+
## 0.11.3
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- Updated dependencies [[`96545dd`](https://github.com/lynx-family/lynx-stack/commit/96545dd9f966c07aa64437aefc781a9f3e260861)]:
|
|
139
|
+
- @lynx-js/template-webpack-plugin@0.9.1
|
|
140
|
+
- @lynx-js/css-extract-webpack-plugin@0.6.4
|
|
141
|
+
- @lynx-js/react-webpack-plugin@0.7.1
|
|
142
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.11.3
|
|
143
|
+
|
|
144
|
+
## 0.11.2
|
|
145
|
+
|
|
146
|
+
### Patch Changes
|
|
147
|
+
|
|
148
|
+
- Fix using wrong version of `@lynx-js/react/refresh`. ([#1756](https://github.com/lynx-family/lynx-stack/pull/1756))
|
|
149
|
+
|
|
150
|
+
- Updated dependencies []:
|
|
151
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.11.2
|
|
152
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
153
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
154
|
+
- @lynx-js/react-webpack-plugin@0.7.1
|
|
155
|
+
|
|
156
|
+
## 0.11.1
|
|
157
|
+
|
|
158
|
+
### Patch Changes
|
|
159
|
+
|
|
160
|
+
- Updated dependencies [[`19f823a`](https://github.com/lynx-family/lynx-stack/commit/19f823aae4ce6d99c173d28d157b7514ae8453cf)]:
|
|
161
|
+
- @lynx-js/css-extract-webpack-plugin@0.6.4
|
|
162
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.11.1
|
|
163
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
164
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
165
|
+
- @lynx-js/react-webpack-plugin@0.7.1
|
|
166
|
+
|
|
167
|
+
## 0.11.0
|
|
4
168
|
|
|
5
169
|
### Minor Changes
|
|
6
170
|
|
|
@@ -8,14 +172,17 @@
|
|
|
8
172
|
|
|
9
173
|
Since the thread element resolution is still in experimental stage and may have stability risks, it will be disabled by default after this change.
|
|
10
174
|
|
|
175
|
+
- **BREAKING CHANGE**: Remove the `enableICU` option. ([#1800](https://github.com/lynx-family/lynx-stack/pull/1800))
|
|
176
|
+
|
|
11
177
|
### Patch Changes
|
|
12
178
|
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
- @lynx-js/
|
|
17
|
-
- @lynx-js/
|
|
18
|
-
- @lynx-js/
|
|
179
|
+
- Be compat with `@lynx-js/react` v0.114.0 ([#1781](https://github.com/lynx-family/lynx-stack/pull/1781))
|
|
180
|
+
|
|
181
|
+
- Updated dependencies [[`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`d0ef559`](https://github.com/lynx-family/lynx-stack/commit/d0ef559fac383634437880681855923968b4fa65)]:
|
|
182
|
+
- @lynx-js/template-webpack-plugin@0.9.0
|
|
183
|
+
- @lynx-js/react-webpack-plugin@0.7.1
|
|
184
|
+
- @lynx-js/css-extract-webpack-plugin@0.6.3
|
|
185
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.11.0
|
|
19
186
|
- @lynx-js/use-sync-external-store@1.5.0
|
|
20
187
|
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
21
188
|
|