Skip to content

fix(ember): Ensure browser tracing is correctly lazy loaded #11026

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

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

mydea
Copy link
Member

@mydea mydea commented Mar 11, 2024

It seems that this is tree shaken weirdly through the async await import, for some reason. Maybe we can overall refactor this to instead use build time flags (instead of async import) but I'll look into this separately, possibly.

I was able to reproduce this with a small local app, and this seemed to fix it.

Closes #10566

@mydea mydea merged commit a48b293 into develop Mar 11, 2024
@mydea mydea deleted the fn/fix-ember-lazy-load branch March 11, 2024 16:59
mydea added a commit that referenced this pull request Mar 11, 2024
@AbhiPrasad
Copy link
Member

Does this need to be backported to v7?

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.

TypeError: d.m_ is not a function after upgrading to @sentry/ember 7.100.1
3 participants