@rsbuild/core 1.2.3 → 1.2.4
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/compiled/css-loader/index.js +18 -20
- package/compiled/postcss-load-config/index.js +9 -3
- package/compiled/postcss-loader/index.js +6 -6
- package/compiled/rsbuild-dev-middleware/index.js +177 -145
- package/compiled/rspack-chain/index.d.ts +2 -2
- package/compiled/rspack-chain/index.js +98 -71
- package/compiled/rspack-chain/license +22 -373
- package/compiled/rspack-chain/package.json +1 -1
- package/compiled/style-loader/index.js +10 -10
- package/dist/client/hmr.js +22 -13
- package/dist/index.cjs +66 -45
- package/dist/index.js +66 -45
- package/dist-types/configChain.d.ts +1 -2
- package/dist-types/index.d.ts +1 -1
- package/dist-types/plugins/basic.d.ts +1 -1
- package/dist-types/provider/createCompiler.d.ts +2 -1
- package/dist-types/provider/helpers.d.ts +1 -1
- package/dist-types/server/devMiddleware.d.ts +1 -1
- package/dist-types/server/helper.d.ts +1 -0
- package/dist-types/server/hmrFallback.d.ts +10 -0
- package/dist-types/types/config.d.ts +3 -1
- package/dist-types/types/hooks.d.ts +1 -0
- package/dist-types/types/plugin.d.ts +2 -2
- package/package.json +5 -5
|
@@ -322,9 +322,9 @@ export type RsbuildPluginAPI = Readonly<{
|
|
|
322
322
|
modifyBundlerChain: PluginHook<ModifyBundlerChainFn>;
|
|
323
323
|
/** Only works when bundler is Rspack */
|
|
324
324
|
modifyRspackConfig: PluginHook<ModifyRspackConfigFn>;
|
|
325
|
-
/** Only works when bundler is
|
|
325
|
+
/** Only works when bundler is webpack */
|
|
326
326
|
modifyWebpackChain: PluginHook<ModifyWebpackChainFn>;
|
|
327
|
-
/** Only works when bundler is
|
|
327
|
+
/** Only works when bundler is webpack */
|
|
328
328
|
modifyWebpackConfig: PluginHook<ModifyWebpackConfigFn>;
|
|
329
329
|
getRsbuildConfig: GetRsbuildConfig;
|
|
330
330
|
getNormalizedConfig: typeof getNormalizedConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "The Rspack-based build tool.",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"bugs": {
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"core-js": "~3.40.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@rslib/core": "0.
|
|
55
|
+
"@rslib/core": "0.4.0",
|
|
56
56
|
"@types/connect": "3.4.38",
|
|
57
|
-
"@types/node": "^22.
|
|
57
|
+
"@types/node": "^22.13.0",
|
|
58
58
|
"@types/on-finished": "2.3.4",
|
|
59
59
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
60
|
-
"@types/ws": "^8.5.
|
|
60
|
+
"@types/ws": "^8.5.14",
|
|
61
61
|
"browserslist-load-config": "1.0.0",
|
|
62
62
|
"cac": "^6.7.14",
|
|
63
63
|
"chokidar": "^4.0.3",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"reduce-configs": "^1.1.0",
|
|
84
84
|
"rsbuild-dev-middleware": "0.1.2",
|
|
85
85
|
"rslog": "^1.2.3",
|
|
86
|
-
"rspack-chain": "^1.
|
|
86
|
+
"rspack-chain": "^1.2.1",
|
|
87
87
|
"rspack-manifest-plugin": "5.0.3",
|
|
88
88
|
"sirv": "^3.0.0",
|
|
89
89
|
"style-loader": "3.3.4",
|