@rspack/core 2.0.0-beta.4 → 2.0.0-beta.6
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/README.md +1 -1
- package/compiled/connect-next/index.d.ts +56 -0
- package/compiled/connect-next/license +26 -0
- package/compiled/connect-next/package.json +1 -0
- package/compiled/http-proxy-middleware/index.d.ts +544 -0
- package/compiled/http-proxy-middleware/license +22 -0
- package/compiled/http-proxy-middleware/package.json +1 -0
- package/compiled/open/index.d.ts +161 -0
- package/compiled/open/package.json +1 -0
- package/dist/builtin-loader/swc/types.d.ts +9 -1
- package/dist/builtin-plugin/lazy-compilation/middleware.d.ts +2 -2
- package/dist/checkNodeVersion.d.ts +1 -0
- package/dist/config/devServer.d.ts +96 -224
- package/dist/config/types.d.ts +9 -6
- package/dist/container/ContainerPlugin.d.ts +3 -2
- package/dist/container/ContainerReferencePlugin.d.ts +4 -3
- package/dist/container/ModuleFederationPlugin.d.ts +2 -1
- package/dist/container/ModuleFederationPluginV1.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +92 -57
- package/dist/sharing/CollectSharedEntryPlugin.d.ts +2 -2
- package/dist/sharing/ConsumeSharedPlugin.d.ts +5 -5
- package/dist/sharing/ProvideSharedPlugin.d.ts +6 -5
- package/dist/sharing/SharePlugin.d.ts +9 -7
- package/dist/util/supportsColor.d.ts +6 -0
- package/hot/dev-server.js +1 -1
- package/hot/emitter.js +0 -2
- package/hot/log.js +0 -2
- package/hot/only-dev-server.js +1 -1
- package/package.json +11 -10
package/hot/dev-server.js
CHANGED
|
@@ -28,7 +28,7 @@ if (import.meta.webpackHot) {
|
|
|
28
28
|
);
|
|
29
29
|
log(
|
|
30
30
|
'warning',
|
|
31
|
-
'[HMR] (Probably because of restarting the
|
|
31
|
+
'[HMR] (Probably because of restarting the rspack-dev-server)',
|
|
32
32
|
);
|
|
33
33
|
if (typeof window !== 'undefined') {
|
|
34
34
|
window.location.reload();
|
package/hot/emitter.js
CHANGED
package/hot/log.js
CHANGED
package/hot/only-dev-server.js
CHANGED
|
@@ -22,7 +22,7 @@ if (import.meta.webpackHot) {
|
|
|
22
22
|
log('warning', '[HMR] Cannot find update. Need to do a full reload!');
|
|
23
23
|
log(
|
|
24
24
|
'warning',
|
|
25
|
-
'[HMR] (Probably because of restarting the
|
|
25
|
+
'[HMR] (Probably because of restarting the rspack-dev-server)',
|
|
26
26
|
);
|
|
27
27
|
return;
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/core",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.6",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Fast Rust-based bundler for the web with a modernized webpack API",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public",
|
|
@@ -37,28 +37,29 @@
|
|
|
37
37
|
"directory": "packages/rspack"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@ast-grep/napi": "^0.
|
|
40
|
+
"@ast-grep/napi": "^0.41.0",
|
|
41
41
|
"@napi-rs/wasm-runtime": "1.0.7",
|
|
42
42
|
"@rsbuild/plugin-node-polyfill": "^1.4.4",
|
|
43
|
-
"@rspack/lite-tapable": "1.1.0",
|
|
44
43
|
"@rslib/core": "0.19.6",
|
|
44
|
+
"@rspack/lite-tapable": "1.1.0",
|
|
45
45
|
"@swc/types": "0.1.25",
|
|
46
|
-
"@types/node": "^20.19.
|
|
46
|
+
"@types/node": "^20.19.35",
|
|
47
47
|
"@types/watchpack": "^2.4.5",
|
|
48
48
|
"browserslist-load-config": "^1.0.1",
|
|
49
49
|
"browserslist-to-es-version": "^1.4.1",
|
|
50
|
+
"connect-next": "^4.0.0",
|
|
50
51
|
"enhanced-resolve": "5.19.0",
|
|
51
|
-
"
|
|
52
|
+
"http-proxy-middleware": "^3.0.5",
|
|
52
53
|
"memfs": "4.53.0",
|
|
53
|
-
"
|
|
54
|
+
"open": "^11.0.0",
|
|
55
|
+
"prebundle": "^1.6.4",
|
|
54
56
|
"tinypool": "^1.1.1",
|
|
55
|
-
"tsx": "^4.21.0",
|
|
56
57
|
"typescript": "^5.9.3",
|
|
57
|
-
"watchpack": "
|
|
58
|
+
"watchpack": "2.4.4",
|
|
58
59
|
"webpack-sources": "3.3.4"
|
|
59
60
|
},
|
|
60
61
|
"dependencies": {
|
|
61
|
-
"@rspack/binding": "2.0.0-beta.
|
|
62
|
+
"@rspack/binding": "2.0.0-beta.6"
|
|
62
63
|
},
|
|
63
64
|
"peerDependencies": {
|
|
64
65
|
"@module-federation/runtime-tools": "^0.24.1 || ^2.0.0",
|