__SENTRY_EXCLUDE_REPLAY_WORKER__
Replacing this flag with true will tree shake all code in the SDK that's related to the included compression web worker for Session Replay. This is only relevant when using Session Replay. Enable this flag if you want to host a compression worker yourself - see Using a Custom Compression Worker for details. We do not recommend enabling this flag unless you provide a custom worker URL.
new Replay({
workerUrl: "/assets/worker.min.js",
});
https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/#list-of-flags
https://docs.sentry.io/platforms/javascript/session-replay/configuration/#using-a-custom-compression-worker