@lynx-js/react-rsbuild-plugin-canary 0.10.14-canary-20250911-7bfd4bfb → 0.10.14-canary-20250912-45e32016

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,6 +1,6 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.10.14-canary-20250911165142-7bfd4bfb3da200017abaf7838e3be0b4f7c71bc5
3
+ ## 0.10.14-canary-20250912080137-45e32016daf6fa69ed6439288386d21423879ae3
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  - Be compat with `@lynx-js/react` v0.113.0 ([#1667](https://github.com/lynx-family/lynx-stack/pull/1667))
10
10
 
11
+ - Disable `builtin:lightningcss-loader` for `environments.web`. ([#1732](https://github.com/lynx-family/lynx-stack/pull/1732))
12
+
11
13
  - Updated dependencies [[`2eaa867`](https://github.com/lynx-family/lynx-stack/commit/2eaa86745fc8575544cbde184f1d00fcb4efdab5), [`1935050`](https://github.com/lynx-family/lynx-stack/commit/1935050cfd8ac37cbac6ad792f3aab0eb6b250b8), [`e1cdec2`](https://github.com/lynx-family/lynx-stack/commit/e1cdec267a7140f5552f975c2df8ebf83416c398), [`c9781c7`](https://github.com/lynx-family/lynx-stack/commit/c9781c710032e0c59d3c761459b581067b0c3168), [`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)]:
12
- - @lynx-js/react@0.113.0-canary-20250911165142-7bfd4bfb3da200017abaf7838e3be0b4f7c71bc5
13
- - @lynx-js/react-webpack-plugin@0.7.0-canary-20250911165142-7bfd4bfb3da200017abaf7838e3be0b4f7c71bc5
14
- - @lynx-js/react-alias-rsbuild-plugin@0.10.14-canary-20250911165142-7bfd4bfb3da200017abaf7838e3be0b4f7c71bc5
14
+ - @lynx-js/react@0.113.0-canary-20250912080137-45e32016daf6fa69ed6439288386d21423879ae3
15
+ - @lynx-js/react-webpack-plugin@0.7.0-canary-20250912080137-45e32016daf6fa69ed6439288386d21423879ae3
16
+ - @lynx-js/react-alias-rsbuild-plugin@0.10.14-canary-20250912080137-45e32016daf6fa69ed6439288386d21423879ae3
15
17
  - @lynx-js/use-sync-external-store@1.5.0
16
18
  - @lynx-js/react-refresh-webpack-plugin@0.3.4
17
19
 
package/dist/index.js CHANGED
@@ -209,7 +209,7 @@ function applyCSS(api, options) {
209
209
  }
210
210
  }));
211
211
  const __dirname = external_node_path_["default"].dirname((0, external_node_url_.fileURLToPath)(import.meta.url));
212
- api.modifyBundlerChain(async function(chain, { CHAIN_ID, environment }) {
212
+ api.modifyBundlerChain(async function(chain, { CHAIN_ID }) {
213
213
  const { CssExtractRspackPlugin, CssExtractWebpackPlugin } = await import("@lynx-js/css-extract-webpack-plugin");
214
214
  const CssExtractPlugin = 'rspack' === api.context.bundlerType ? CssExtractRspackPlugin : CssExtractWebpackPlugin;
215
215
  const cssRules = [
@@ -238,7 +238,7 @@ function applyCSS(api, options) {
238
238
  removeLightningCSS(rule);
239
239
  });
240
240
  function removeLightningCSS(rule) {
241
- if (rule.uses.has(CHAIN_ID.USE.LIGHTNINGCSS) && 'lynx' === environment.name) rule.uses.delete(CHAIN_ID.USE.LIGHTNINGCSS);
241
+ if (rule.uses.has(CHAIN_ID.USE.LIGHTNINGCSS)) rule.uses.delete(CHAIN_ID.USE.LIGHTNINGCSS);
242
242
  }
243
243
  chain.plugin(CHAIN_ID.PLUGIN.MINI_CSS_EXTRACT).tap(([options])=>[
244
244
  {
@@ -562,8 +562,7 @@ const applySplitChunksRule = (api)=>{
562
562
  }
563
563
  });
564
564
  });
565
- api.modifyRspackConfig((rspackConfig, { environment })=>{
566
- if ('lynx' !== environment.name) return rspackConfig;
565
+ api.modifyRspackConfig((rspackConfig)=>{
567
566
  if (!rspackConfig.optimization) return rspackConfig;
568
567
  if (!rspackConfig.optimization.splitChunks) return rspackConfig;
569
568
  rspackConfig.optimization.splitChunks.chunks = function(chunk) {
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-7bfd4bfb",
3
+ "version": "0.10.14-canary-20250912-45e32016",
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-7bfd4bfb",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.14-canary-20250912-45e32016",
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.0-canary-20250911-7bfd4bfb",
38
+ "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.0-canary-20250912-45e32016",
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",
@@ -53,9 +53,9 @@
53
53
  "type-fest": "^4.41.0",
54
54
  "typia": "9.7.2",
55
55
  "typia-rspack-plugin": "2.2.2",
56
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.113.0-canary-20250912-45e32016",
56
57
  "@lynx-js/react-transform": "0.2.0",
57
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.113.0-canary-20250911-7bfd4bfb",
58
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.2-canary-20250911-7bfd4bfb",
58
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.2-canary-20250912-45e32016",
59
59
  "@lynx-js/vitest-setup": "0.0.0"
60
60
  },
61
61
  "peerDependencies": {