diff --git a/lib/build.ts b/lib/build.ts index 2ce10b6..56785c0 100644 --- a/lib/build.ts +++ b/lib/build.ts @@ -55,6 +55,9 @@ function getConfigureArgs(major: number, targetPlatform: string): string[] { } } + // production binaries do NOT take NODE_OPTIONS from end-users + args.push('--without-node-options'); + // DTrace args.push('--without-dtrace');