You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It throw an error at the console SyntaxError: Unexpected use of reserved word 'let' in strict mode
just like the photo below:
When I use the vue-cli configuration transpileDependencies to transpile the whole @sentry bundle with Babel, it throw another error: ReferenceError: Can't find variable: exports
How can I get a es5 version? Or I can only use raven-js, Cause I need to keep the browser compatibility?
The text was updated successfully, but these errors were encountered:
issaTan
changed the title
@sentry/browser/esm throw SyntaxError at iOS 9
@sentry/browser/esm throw SyntaxError at iOS 9 Safari
Apr 3, 2019
That is what happens normally if you transpile the whole node_modules with babel. what happened here is that @sentry/util/is.js gets imported, but @sentry/util/esm/is.js should be.
@HazAT did you remove the rewrite script? That's the reason it's there
Package + Version
@sentry/browser
Version:
Description
I'm using it for a
vue
project, when I set the configuration like the guide such asIt throw an error at the console
SyntaxError: Unexpected use of reserved word 'let' in strict mode
just like the photo below:
When I use the
vue-cli
configurationtranspileDependencies
to transpile the whole@sentry
bundle with Babel, it throw another error:ReferenceError: Can't find variable: exports
How can I get a es5 version? Or I can only use
raven-js
, Cause I need to keep the browser compatibility?The text was updated successfully, but these errors were encountered: