The prune-profiler-binaries script is a deployment optimization tool that removes unused native profiler binaries to reduce bundle/deployment size. See more here: https://github.com/getsentry/sentry-javascript/blob/develop/packages/profiling-node/README.md#bundling
As we want to reduce the number of npm bin scripts, we're going to remove this script in the next major version. If you're very dependent on this script, either replicate it yourself (code linked here) or share your concerns in a comment on this issue.
Also more context on this here: #20422
The
prune-profiler-binariesscript is a deployment optimization tool that removes unused native profiler binaries to reduce bundle/deployment size. See more here: https://github.com/getsentry/sentry-javascript/blob/develop/packages/profiling-node/README.md#bundlingAs we want to reduce the number of npm
binscripts, we're going to remove this script in the next major version. If you're very dependent on this script, either replicate it yourself (code linked here) or share your concerns in a comment on this issue.Also more context on this here: #20422