next.js
ed676009 - webpack: Sourcemap externals when replayed in the browser (#75863)

Commit
1 year ago
webpack: Sourcemap externals when replayed in the browser (#75863) This was already implemented in the middleware for Turbopack but absent when Webpack was used. We now always prefer the native `findSourceMap` over invoking Webpack's API. This way stackframes from externals are now properly sourcemapped (and therefore ignore-listed) Notice how the `react-server-dom-webpack...` stackframe (`console.error` method) wasn't ignore-listed before. Before: ![CleanShot 2025-02-10 at 14.34.44.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/dLGs20hkgfWzupsPjSxb/2a8147d4-4b6f-4170-ae36-8b544ff0bb1a.png) After: ![CleanShot 2025-02-10 at 14.36.15.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/dLGs20hkgfWzupsPjSxb/f713e36d-88f4-4185-8bf8-0293a7b7f4f1.png)
Author
Parents
Loading