mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 04:00:49 +00:00
needs to be safe-chain.exe instead of safe-chain.cmd for size
This commit is contained in:
parent
6fa648d6ca
commit
75f8767819
1 changed files with 1 additions and 1 deletions
2
build.js
2
build.js
|
|
@ -37,7 +37,7 @@ if (!target) {
|
||||||
|
|
||||||
|
|
||||||
const totalBuildTime = (performance.now() - startBuildTime)/1000;
|
const totalBuildTime = (performance.now() - startBuildTime)/1000;
|
||||||
const totalSizeInMb = (await stat("./dist/safe-chain" + (process.platform === "win32" ? ".bin" : ""))).size / (1024*1024);
|
const totalSizeInMb = (await stat("./dist/safe-chain" + (process.platform === "win32" ? ".exe" : ""))).size / (1024*1024);
|
||||||
console.log(`🏁 Finished build in ${totalBuildTime.toFixed(2)}s, total build size: ${totalSizeInMb.toFixed(2)}MB`);
|
console.log(`🏁 Finished build in ${totalBuildTime.toFixed(2)}s, total build size: ${totalSizeInMb.toFixed(2)}MB`);
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue