Can you import @sentry/svelte like this? #6791
Unanswered
alexbjorlig
asked this question in
Q&A
Replies: 1 comment
-
Hey @alexbjorlig, thanks for writing in. I wasn't able to reproduce this issue when I quickly tried it. https://codesandbox.io/s/svelte-sentry-configure-scope-import-bj9y4y This might be due to your bundler config. I'll migrate this to an issue so we can investigate and dig deeper there. |
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
-
Trying to migrate @sentry/browser to @sentry/svelte in my approach to support Sveltekit.
However if I import like this:
import { configureScope } from '@sentry/svelte';
I get an error?
Is
@sentry/svelte
really a CommonJS module ?Beta Was this translation helpful? Give feedback.
All reactions