We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80ef11f + 4005633 commit 1f4bdf0Copy full SHA for 1f4bdf0
build.js
@@ -72,3 +72,9 @@ const dumpSyms = (() => {
72
}
73
})()
74
fs.copyFileSync(dumpSyms, dumpSymsDest)
75
+
76
+fs.readdirSync(binDir).forEach(file => stripBin(path.join(binDir, file)))
77
78
+function stripBin (file) {
79
+ return childProcess.execFileSync(process.env.STRIP || 'strip', [file, process.platform === 'darwin' ? '-Sx' : '--strip-all'])
80
+}
0 commit comments