sentry-javascript
sentry-javascript copied to clipboard
fix(nextjs): Resolve path for dynamic webpack import
This PR handles the dynamic import of modules using require.resolve
instead of a hardcoded node_modules
path – allowing the use of alternative node linkers like Yarn PnP
fixes https://github.com/getsentry/sentry-javascript/issues/13641