Repo moved to https://github.com/getsentry/sentry-javascript-bundler-plugins. Please open any issues/PRs there.
662
stars
116
forks
source link
[nextjs] When adding sentry modules are getting imported as undefined #442
Closed
ekeric13 closed 1 year ago
Environment
What version are you running? Etc.
"@sentry/nextjs": "^7.50.0"
Steps to Reproduce
When using default imports/exports, somehow the module becomes undefined:
Changing to use named exports fixes this issue:
Really confused why this is happening. If I don't use sentry it works perfectly fine. Does sentry expect all imports to be named?
This is my
next.config.js
: