Skip to content

Commit 0a52d2f

Browse files
committed
build: fixed bug in pkg.mjs script
1 parent d79fcfb commit 0a52d2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pkg.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function main(argv = process.argv) {
100100
os.arch = () => arch;
101101
// Ensure that `node-gyp-build` only finds prebuilds
102102
process.env.PREBUILDS_ONLY = '1';
103-
const nodeGypBuild = await import('node-gyp-build');
103+
const { default: nodeGypBuild } = await import('node-gyp-build');
104104
const pkgConfig = packageJSON.pkg ?? {};
105105
pkgConfig.assets = pkgConfig.assets ?? {};
106106
const npmLsOut = childProcess.execFileSync(

0 commit comments

Comments
 (0)