mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
add --compress GZip option to build
This commit is contained in:
parent
9518be35b4
commit
aba771e355
1 changed files with 5 additions and 1 deletions
6
build.js
6
build.js
|
|
@ -109,7 +109,11 @@ function buildSafeChainBinary(target) {
|
|||
? resolve("node_modules/.bin/pkg.cmd")
|
||||
: resolve("node_modules/.bin/pkg");
|
||||
|
||||
const pkg = spawn(pkgBin, ["./build/package.json", "-t", target], {
|
||||
let pkgArgs = ["./build/package.json", "-t", "target"];
|
||||
|
||||
pkgArgs += ["--compress", "GZip"];
|
||||
|
||||
const pkg = spawn(pkgBin, pkgArgs, {
|
||||
stdio: "inherit",
|
||||
shell: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue