Replies: 1 comment
-
Hello, this is documented here: https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/ If you use a bundler that we support, you can configure |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm failing to tree shake the compression worker away since I'm hosting my own due to CSP restrictions.
I'm using angular and I tried loading it lazily but it always ends up in the initial bundle. Is there a way to prevent that?
I'm wondering if the sdk could provide an entrypoint for the replay integration that requires specifying a worker url and doesn't include the worker itself. I guess that would be simpler than everybody trying to treeshake it away...
Here's my demo I tested with
https://github.com/simhnna/sentry-treeshaking
Here's the output of
ng build
Beta Was this translation helpful? Give feedback.
All reactions