@rspack/cli 2.0.0-beta.5 → 2.0.0-beta.7
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/dist/index.js +1296 -1
- package/dist/{274.js → profile.js} +3 -1
- package/dist/rslib-runtime.js +0 -3
- package/package.json +7 -7
- package/dist/131.js +0 -1237
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import node_fs from "node:fs";
|
|
2
|
+
import node_path from "node:path";
|
|
3
|
+
import { rspack } from "@rspack/core";
|
|
2
4
|
const DEFAULT_RUST_TRACE_LAYER = 'perfetto';
|
|
3
5
|
async function applyProfile(filterValue, traceLayer = DEFAULT_RUST_TRACE_LAYER, traceOutput) {
|
|
4
6
|
const { asyncExitHook } = await import("exit-hook");
|
package/dist/rslib-runtime.js
CHANGED
|
@@ -4,12 +4,9 @@ function __webpack_require__(moduleId) {
|
|
|
4
4
|
var cachedModule = __webpack_module_cache__[moduleId];
|
|
5
5
|
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
6
6
|
var module = __webpack_module_cache__[moduleId] = {
|
|
7
|
-
id: moduleId,
|
|
8
|
-
loaded: false,
|
|
9
7
|
exports: {}
|
|
10
8
|
};
|
|
11
9
|
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
12
|
-
module.loaded = true;
|
|
13
10
|
return module.exports;
|
|
14
11
|
}
|
|
15
12
|
__webpack_require__.m = __webpack_modules__;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/cli",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.7",
|
|
4
4
|
"description": "CLI for rspack",
|
|
5
5
|
"homepage": "https://rspack.rs",
|
|
6
6
|
"bugs": "https://github.com/web-infra-dev/rspack/issues",
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"exit-hook": "^4.0.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@rslib/core": "0.
|
|
35
|
-
"@rspack/dev-server": "
|
|
36
|
-
"cac": "^
|
|
34
|
+
"@rslib/core": "0.20.0",
|
|
35
|
+
"@rspack/dev-server": "2.0.0-beta.5",
|
|
36
|
+
"cac": "^7.0.0",
|
|
37
37
|
"concat-stream": "^2.0.0",
|
|
38
38
|
"cross-env": "^10.1.0",
|
|
39
39
|
"execa": "^5.1.1",
|
|
40
40
|
"pirates": "^4.0.7",
|
|
41
41
|
"ts-node": "^10.9.2",
|
|
42
42
|
"typescript": "^5.9.3",
|
|
43
|
-
"@rspack/core": "2.0.0-beta.
|
|
44
|
-
"@rspack/test-tools": "2.0.0-beta.
|
|
43
|
+
"@rspack/core": "2.0.0-beta.7",
|
|
44
|
+
"@rspack/test-tools": "2.0.0-beta.7"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@rspack/core": "^2.0.0-0",
|
|
48
|
-
"@rspack/dev-server": "
|
|
48
|
+
"@rspack/dev-server": "^2.0.0-0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@rspack/dev-server": {
|