Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host web worker for Sentry replay #243

Open
bruno-garcia opened this issue Nov 14, 2023 · 0 comments
Open

Host web worker for Sentry replay #243

bruno-garcia opened this issue Nov 14, 2023 · 0 comments

Comments

@bruno-garcia
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant