sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

fix(nextjs): Resolve path for dynamic webpack import

Open chargome opened this issue 5 months ago • 3 comments

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

chargome avatar Sep 23 '24 14:09 chargome