-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Sentry v7 - Error in IE11 even after transpiling with babel #5184
Comments
Hey, thanks for writing in! This is strange 🤔. The code that appears to be problematic here is a a IIFE we use in We just tested this and couldn't reproduce. (used https://es6console.com/ + https://unpkg.com/@sentry/utils@7.0.0/esm/time.js ) Could you provide some kind of reproduction, or details about your setup (bundler usage etc.)? |
Thanks for the quick reply!
We're using Webpack / Babel. Here's a link to our Here's a link to the PR where I'm testing things out mozilla/bedrock#11706 |
Here's a link to our compiled output: https://www-demo1.allizom.org/media/js/sentry.js |
After some investigation I believe this is an issue with our project's config, not a Sentry issue. Thanks anyway! |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/browser
SDK Version
7.0.0
Framework Version
No response
Link to Sentry event
No response
Steps to Reproduce
Expected Result
The Sentry JS bundle should load without errors
Actual Result
IE11 throws an error
SCRIPT1006: Expected ')'
Looking at the compiled result, it seems like there's a small portion of code that Babel fails to transpile correctly. Notice there are still some
const
,let
variables, as well as some arrow functions that have not been caught.The rest of the transpiled code looks OK, as far as I can tell.
The text was updated successfully, but these errors were encountered: