Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Feb 8, 2023

It appears the new check fails on node, even when not importing rrweb. I guess it may be because in development it is not treeshaken, and module scope is still evaluated.

Now, we check this every time. This may be slightly more expensive, but also safer as we'd catch it if this is removed/overwritten later on.

@mydea mydea requested review from Lms24 and billyvg February 8, 2023 16:01
@mydea mydea self-assigned this Feb 8, 2023
@mydea mydea force-pushed the fn/no-window-module-scope branch from 6e8ed81 to 5ae3d66 Compare February 8, 2023 16:04
@mydea mydea merged commit fd12dd6 into sentry-v1 Feb 8, 2023
@mydea mydea deleted the fn/no-window-module-scope branch February 8, 2023 16:15
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

Successfully merging this pull request may close these issues.

3 participants