nuget-trends icon indicating copy to clipboard operation
nuget-trends copied to clipboard

Host web worker for Sentry replay

Open bruno-garcia opened this issue 2 years ago • 0 comments
trafficstars

https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/#list-of-flags

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/session-replay/configuration/#using-a-custom-compression-worker

bruno-garcia avatar Nov 14 '23 15:11 bruno-garcia