@lynx-js/react-rsbuild-plugin-canary 0.12.1-canary-20251212-9c715ffe → 0.12.2-canary-20251216-e38e21a1

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,25 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.12.1-canary-20251212100312-9c715ffe5ee3eb738b473010f1b8151583fb9124
3
+ ## 0.12.2-canary-20251216115050-e38e21a13bc43472da91f99f6cc60266d7e0de8b
4
+
5
+ ### Patch Changes
6
+
7
+ - Support environment variants to enable multiple configurations for the same targets. ([#1969](https://github.com/lynx-family/lynx-stack/pull/1969))
8
+
9
+ - Updated dependencies []:
10
+ - @lynx-js/react-alias-rsbuild-plugin@0.12.2-canary-20251216115050-e38e21a13bc43472da91f99f6cc60266d7e0de8b
11
+
12
+ ## 0.12.1
4
13
 
5
14
  ### Patch Changes
6
15
 
7
16
  - 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))
8
17
 
9
- - Updated dependencies [[`a01fa58`](https://github.com/lynx-family/lynx-stack/commit/a01fa58b9801a6f163a067063ab448fc4fb0ea5a), [`553ece1`](https://github.com/lynx-family/lynx-stack/commit/553ece1e025b1f4feae353310c21b2e159f1f03a), [`8cdb69d`](https://github.com/lynx-family/lynx-stack/commit/8cdb69d4b2cc3e9925a2494ee8a889d7af17e2e9), [`9c715ff`](https://github.com/lynx-family/lynx-stack/commit/9c715ffe5ee3eb738b473010f1b8151583fb9124), [`8cdb69d`](https://github.com/lynx-family/lynx-stack/commit/8cdb69d4b2cc3e9925a2494ee8a889d7af17e2e9)]:
10
- - @lynx-js/react@0.115.1-canary-20251212100312-9c715ffe5ee3eb738b473010f1b8151583fb9124
11
- - @lynx-js/react-webpack-plugin@0.7.3-canary-20251212100312-9c715ffe5ee3eb738b473010f1b8151583fb9124
12
- - @lynx-js/css-extract-webpack-plugin@0.7.0-canary-20251212100312-9c715ffe5ee3eb738b473010f1b8151583fb9124
13
- - @lynx-js/template-webpack-plugin@0.10.0-canary-20251212100312-9c715ffe5ee3eb738b473010f1b8151583fb9124
14
- - @lynx-js/react-alias-rsbuild-plugin@0.12.1-canary-20251212100312-9c715ffe5ee3eb738b473010f1b8151583fb9124
18
+ - 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)]:
19
+ - @lynx-js/react-webpack-plugin@0.7.3
20
+ - @lynx-js/css-extract-webpack-plugin@0.7.0
21
+ - @lynx-js/template-webpack-plugin@0.10.0
22
+ - @lynx-js/react-alias-rsbuild-plugin@0.12.1
15
23
  - @lynx-js/use-sync-external-store@1.5.0
16
24
  - @lynx-js/react-refresh-webpack-plugin@0.3.4
17
25
 
package/dist/index.js CHANGED
@@ -290,8 +290,8 @@ function applyEntry(api, options) {
290
290
  const { config, logger } = api.useExposed(Symbol.for('rspeedy.api'));
291
291
  api.modifyBundlerChain(async (chain, { environment, isDev, isProd })=>{
292
292
  const entries = chain.entryPoints.entries() ?? {};
293
- const isLynx = 'lynx' === environment.name;
294
- const isWeb = 'web' === environment.name;
293
+ const isLynx = 'lynx' === environment.name || environment.name.startsWith('lynx-');
294
+ const isWeb = 'web' === environment.name || environment.name.startsWith('web-');
295
295
  const { hmr, liveReload } = environment.config.dev ?? {};
296
296
  const enabledHMR = isDev && !isWeb && false !== hmr;
297
297
  const enabledLiveReload = isDev && !isWeb && false !== liveReload;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin-canary",
3
- "version": "0.12.1-canary-20251212-9c715ffe",
3
+ "version": "0.12.2-canary-20251216-e38e21a1",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -32,12 +32,12 @@
32
32
  "README.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.7.0-canary-20251212-9c715ffe",
36
- "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.12.1-canary-20251212-9c715ffe",
35
+ "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.7.0",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.12.2-canary-20251216-e38e21a1",
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.3-canary-20251212-9c715ffe",
38
+ "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.3",
39
39
  "@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.3",
40
- "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.10.0-canary-20251212-9c715ffe",
40
+ "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.10.0",
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": "^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.115.1",
57
58
  "@lynx-js/react-transform": "0.2.0",
58
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.115.1-canary-20251212-9c715ffe",
59
- "@lynx-js/vitest-setup": "0.0.0",
60
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.12.2-canary-20251212-9c715ffe"
59
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.12.3-canary-20251216-e38e21a1",
60
+ "@lynx-js/vitest-setup": "0.0.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@lynx-js/react": "*"