@rspack/cli 1.0.0-alpha.0 → 1.0.0-alpha.1
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/utils/profile.js +2 -2
- package/package.json +3 -3
package/dist/utils/profile.js
CHANGED
|
@@ -178,8 +178,8 @@ async function applyProfile(profileValue, item) {
|
|
|
178
178
|
for (const [kind, value] of entries) {
|
|
179
179
|
await ensureFileDir(value.output);
|
|
180
180
|
if (kind === "TRACE" && "filter" in value) {
|
|
181
|
-
|
|
182
|
-
exitHook(core_1.
|
|
181
|
+
core_1.rspack.experiments.globalTrace.register(value.filter, value.layer, value.output);
|
|
182
|
+
exitHook(core_1.rspack.experiments.globalTrace.cleanup);
|
|
183
183
|
}
|
|
184
184
|
else if (kind === "JSCPU") {
|
|
185
185
|
(item.plugins ??= []).push(new RspackProfileJSCPUProfilePlugin(value.output));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/cli",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "CLI for rspack",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"cross-env": "^7.0.3",
|
|
35
35
|
"execa": "^5.0.0",
|
|
36
36
|
"internal-ip": "6.2.0",
|
|
37
|
-
"@rspack/core": "1.0.0-alpha.
|
|
37
|
+
"@rspack/core": "1.0.0-alpha.1"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@discoveryjs/json-ext": "^0.5.7",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"semver": "6.3.1",
|
|
46
46
|
"webpack-bundle-analyzer": "4.6.1",
|
|
47
47
|
"yargs": "17.6.2",
|
|
48
|
-
"@rspack/dev-server": "1.0.0-alpha.
|
|
48
|
+
"@rspack/dev-server": "1.0.0-alpha.1"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsc -b ./tsconfig.build.json",
|