@lynx-js/react-rsbuild-plugin 0.16.2 → 0.16.3

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,5 +1,19 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
+ ## 0.16.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Force CSS minification off when `enableRemoveCSSScope` is set to `false`, overriding the default CSS minify configuration in ReactLynx builds. ([#2641](https://github.com/lynx-family/lynx-stack/pull/2641))
8
+
9
+ - Updated dependencies [[`11ef105`](https://github.com/lynx-family/lynx-stack/commit/11ef105e3dcc3c08f098360d5a3e0367efe4a9d4)]:
10
+ - @lynx-js/react-webpack-plugin@0.9.3
11
+ - @lynx-js/react-alias-rsbuild-plugin@0.16.3
12
+ - @lynx-js/react-refresh-webpack-plugin@0.3.6
13
+ - @lynx-js/template-webpack-plugin@0.11.2
14
+ - @lynx-js/use-sync-external-store@1.5.0
15
+ - @lynx-js/css-extract-webpack-plugin@0.7.1
16
+
3
17
  ## 0.16.2
4
18
 
5
19
  ### Patch Changes
package/dist/208.js CHANGED
@@ -1355,6 +1355,20 @@ function pluginReactLynx(userOptions) {
1355
1355
  const webpackPluginPath = require.resolve('@lynx-js/react-webpack-plugin');
1356
1356
  api.logger?.debug(`Using @lynx-js/react-webpack-plugin v${version} at ${webpackPluginPath}`);
1357
1357
  }
1358
+ },
1359
+ {
1360
+ name: 'lynx:react:css-minify-guard',
1361
+ enforce: 'post',
1362
+ setup (api) {
1363
+ if (false !== resolvedOptions.enableRemoveCSSScope) return;
1364
+ api.modifyRsbuildConfig((config, { mergeRsbuildConfig })=>mergeRsbuildConfig(config, {
1365
+ output: {
1366
+ minify: {
1367
+ css: false
1368
+ }
1369
+ }
1370
+ }));
1371
+ }
1358
1372
  }
1359
1373
  ];
1360
1374
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin",
3
- "version": "0.16.2",
3
+ "version": "0.16.3",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -34,11 +34,11 @@
34
34
  "dependencies": {
35
35
  "tiny-invariant": "^1.3.3",
36
36
  "@lynx-js/css-extract-webpack-plugin": "0.7.1",
37
- "@lynx-js/react-alias-rsbuild-plugin": "0.16.2",
37
+ "@lynx-js/react-alias-rsbuild-plugin": "0.16.3",
38
38
  "@lynx-js/react-refresh-webpack-plugin": "0.3.6",
39
- "@lynx-js/react-webpack-plugin": "0.9.2",
39
+ "@lynx-js/react-webpack-plugin": "0.9.3",
40
40
  "@lynx-js/runtime-wrapper-webpack-plugin": "0.1.3",
41
- "@lynx-js/template-webpack-plugin": "0.11.1",
41
+ "@lynx-js/template-webpack-plugin": "0.11.2",
42
42
  "@lynx-js/use-sync-external-store": "1.5.0",
43
43
  "background-only": "^0.0.1"
44
44
  },
@@ -56,9 +56,9 @@
56
56
  "typia": "10.1.0",
57
57
  "typia-rspack-plugin": "2.2.2",
58
58
  "@lynx-js/config-rsbuild-plugin": "0.0.2",
59
- "@lynx-js/react": "0.121.0",
59
+ "@lynx-js/react": "0.121.1",
60
60
  "@lynx-js/react-transform": "0.2.0",
61
- "@lynx-js/rspeedy": "0.14.4",
61
+ "@lynx-js/rspeedy": "0.14.5",
62
62
  "@lynx-js/vitest-setup": "0.0.0"
63
63
  },
64
64
  "peerDependencies": {