Skip to content

Commit 8320d0a

Browse files
committed
use compress option on pkg
1 parent dccb044 commit 8320d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binary/build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ async function installNodeModuleInTempDirAndCopyToCurrent(packageName, toCopy) {
243243
fs.mkdirSync(targetDir, { recursive: true });
244244
console.log(`[info] Building ${target}...`);
245245
execCmdSync(
246-
`npx pkg --no-bytecode --public-packages "*" --public pkgJson/${target} --out-path ${targetDir}`,
246+
`npx pkg --no-bytecode --public-packages "*" --public --compress GZip pkgJson/${target} --out-path ${targetDir}`,
247247
);
248248

249249
// Download and unzip prebuilt sqlite3 binary for the target

0 commit comments

Comments
 (0)