@lynx-js/react-rsbuild-plugin 0.12.8 → 0.12.10

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,33 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
+ ## 0.12.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Support bundle and load css in external bundle ([#2143](https://github.com/lynx-family/lynx-stack/pull/2143))
8
+
9
+ - Updated dependencies [[`59f2933`](https://github.com/lynx-family/lynx-stack/commit/59f293305342e5bc15efa5292c377179a7046a6b), [`453e006`](https://github.com/lynx-family/lynx-stack/commit/453e006c0e96f580031971b21ae577b8945fe984)]:
10
+ - @lynx-js/template-webpack-plugin@0.10.5
11
+ - @lynx-js/css-extract-webpack-plugin@0.7.0
12
+ - @lynx-js/react-webpack-plugin@0.7.4
13
+ - @lynx-js/react-alias-rsbuild-plugin@0.12.10
14
+ - @lynx-js/use-sync-external-store@1.5.0
15
+ - @lynx-js/react-refresh-webpack-plugin@0.3.4
16
+
17
+ ## 0.12.9
18
+
19
+ ### Patch Changes
20
+
21
+ - Add alias for `use-sync-external-store/with-selector.js` and `use-sync-external-store/shim/with-selector.js` pointing to @lynx-js/use-sync-external-store. ([#2200](https://github.com/lynx-family/lynx-stack/pull/2200))
22
+
23
+ - Updated dependencies [[`9033e2d`](https://github.com/lynx-family/lynx-stack/commit/9033e2d6c7c0c2405ecbbf73446239dd65b4a177)]:
24
+ - @lynx-js/template-webpack-plugin@0.10.4
25
+ - @lynx-js/react-alias-rsbuild-plugin@0.12.9
26
+ - @lynx-js/use-sync-external-store@1.5.0
27
+ - @lynx-js/react-refresh-webpack-plugin@0.3.4
28
+ - @lynx-js/react-webpack-plugin@0.7.4
29
+ - @lynx-js/css-extract-webpack-plugin@0.7.0
30
+
3
31
  ## 0.12.8
4
32
 
5
33
  ### Patch Changes
package/dist/208.js CHANGED
@@ -546,12 +546,17 @@ function applyUseSyncExternalStore(api) {
546
546
  const useSyncExternalStoreEntries = [
547
547
  'use-sync-external-store',
548
548
  'use-sync-external-store/with-selector',
549
+ 'use-sync-external-store/with-selector.js',
549
550
  'use-sync-external-store/shim',
550
- 'use-sync-external-store/shim/with-selector'
551
+ 'use-sync-external-store/shim/with-selector',
552
+ 'use-sync-external-store/shim/with-selector.js'
551
553
  ];
552
- await Promise.all(useSyncExternalStoreEntries.map((entry)=>resolve(`@lynx-js/${entry}`).then((value)=>{
553
- chain.resolve.alias.set(`${entry}$`, value);
554
- })));
554
+ await Promise.all(useSyncExternalStoreEntries.map((key)=>{
555
+ const entry = key.endsWith('.js') ? key.replace('.js', '') : key;
556
+ return resolve(`@lynx-js/${entry}`).then((value)=>{
557
+ chain.resolve.alias.set(`${key}$`, value);
558
+ });
559
+ }));
555
560
  });
556
561
  }
557
562
  const _assertGuard = __webpack_require__("../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_assertGuard.js");
@@ -1158,7 +1163,7 @@ function pluginReactLynx(userOptions) {
1158
1163
  [key]: exposedConfig.config[key]
1159
1164
  });
1160
1165
  });
1161
- if (!isRslib) applyCSS(api, resolvedOptions);
1166
+ applyCSS(api, resolvedOptions);
1162
1167
  applyEntry(api, resolvedOptions);
1163
1168
  applyBackgroundOnly(api);
1164
1169
  applyGenerator(api, resolvedOptions);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin",
3
- "version": "0.12.8",
3
+ "version": "0.12.10",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -33,20 +33,20 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@lynx-js/css-extract-webpack-plugin": "0.7.0",
36
- "@lynx-js/react-alias-rsbuild-plugin": "0.12.8",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "0.12.10",
37
37
  "@lynx-js/react-refresh-webpack-plugin": "0.3.4",
38
38
  "@lynx-js/react-webpack-plugin": "0.7.4",
39
39
  "@lynx-js/runtime-wrapper-webpack-plugin": "0.1.3",
40
- "@lynx-js/template-webpack-plugin": "0.10.3",
40
+ "@lynx-js/template-webpack-plugin": "0.10.5",
41
41
  "@lynx-js/use-sync-external-store": "1.5.0",
42
42
  "background-only": "^0.0.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "7.56.3",
45
+ "@microsoft/api-extractor": "7.57.6",
46
46
  "@rollup/plugin-typescript": "^12.3.0",
47
47
  "@rsbuild/core": "1.7.3",
48
48
  "@rsbuild/plugin-sass": "1.5.0",
49
- "@rsbuild/plugin-typed-css-modules": "1.2.1",
49
+ "@rsbuild/plugin-typed-css-modules": "1.2.2",
50
50
  "rsbuild-plugin-arethetypeswrong": "0.2.0",
51
51
  "rsbuild-plugin-publint": "0.3.4",
52
52
  "source-map": "^0.7.6",
@@ -55,9 +55,9 @@
55
55
  "typia": "10.1.0",
56
56
  "typia-rspack-plugin": "2.2.2",
57
57
  "@lynx-js/config-rsbuild-plugin": "0.0.1",
58
- "@lynx-js/react": "0.116.3",
58
+ "@lynx-js/react": "0.116.5",
59
59
  "@lynx-js/react-transform": "0.2.0",
60
- "@lynx-js/rspeedy": "0.13.4",
60
+ "@lynx-js/rspeedy": "0.13.5",
61
61
  "@lynx-js/vitest-setup": "0.0.0"
62
62
  },
63
63
  "peerDependencies": {