Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
revert a change in build/run.js
Browse files Browse the repository at this point in the history
which was committed by mistake
  • Loading branch information
radeusgd committed Mar 23, 2021
1 parent cc004b3 commit 090dd8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ commands.build.rust = async function(argv) {
let stats = fss.statSync(paths.dist.wasm.mainOptGz)
let limit = 4.29
let size = Math.round(100 * stats.size / 1024 / 1024) / 100
/*if (size > limit) {
if (size > limit) {
throw(`Output file size exceeds the limit (${size}MB > ${limit}MB).`)
}*/
}
}
}

Expand Down

0 comments on commit 090dd8c

Please sign in to comment.