@lynx-js/react-rsbuild-plugin-canary 0.10.14-canary-20250912-6de2b533 → 0.10.14-canary-20250912-ce8bfb4e

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-20250912070107-6de2b533b956f865ed619ef8411f4dd4f066774d
3
+ ## 0.10.14-canary-20250912090851-ce8bfb4e4623a55eac576d17e6831f8875e3aa97
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-20250912070107-6de2b533b956f865ed619ef8411f4dd4f066774d
13
- - @lynx-js/react-webpack-plugin@0.7.0-canary-20250912070107-6de2b533b956f865ed619ef8411f4dd4f066774d
14
- - @lynx-js/react-alias-rsbuild-plugin@0.10.14-canary-20250912070107-6de2b533b956f865ed619ef8411f4dd4f066774d
14
+ - @lynx-js/react@0.113.0-canary-20250912090851-ce8bfb4e4623a55eac576d17e6831f8875e3aa97
15
+ - @lynx-js/react-webpack-plugin@0.7.0-canary-20250912090851-ce8bfb4e4623a55eac576d17e6831f8875e3aa97
16
+ - @lynx-js/react-alias-rsbuild-plugin@0.10.14-canary-20250912090851-ce8bfb4e4623a55eac576d17e6831f8875e3aa97
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-20250912-6de2b533",
3
+ "version": "0.10.14-canary-20250912-ce8bfb4e",
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-20250912-6de2b533",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.14-canary-20250912-ce8bfb4e",
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-20250912-6de2b533",
38
+ "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.0-canary-20250912-ce8bfb4e",
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-6de2b533",
57
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.2-canary-20250912-6de2b533",
56
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.113.0-canary-20250912-ce8bfb4e",
58
57
  "@lynx-js/react-transform": "0.2.0",
58
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.2-canary-20250912-ce8bfb4e",
59
59
  "@lynx-js/vitest-setup": "0.0.0"
60
60
  },
61
61
  "peerDependencies": {