/nextjs-inaccurate-sourcemaps

A next.js app for reproducing an issue with sourcemaps

Primary LanguageCSS

This is a Next.js project bootstrapped with create-next-app to show an issue with next.js sourcemaps.

STR:

Alternatively, you can look at these sourcemaps here:

The sourcemap viewer shows that in the first sourcemap (of a source under node_modules) almost all sourcemap entries point to the first column of a line in the original source. This makes it impossible to do "scope mapping" (showing scopes with original variable names) in a debugger.