next.js
86c46edc - source map fixes (#61723)

Commit
1 year ago
source map fixes (#61723) ### What? * show guessed original file for generate code * avoid internal cast * add get_source_map method * hide turbopack runtime stack lines * hide unmapped stack lines Closes PACK-2400 Before: ![image](https://github.com/vercel/next.js/assets/1365881/29f24f59-7c77-4496-92de-efcc72d28ad5) After: ![image](https://github.com/vercel/next.js/assets/1365881/ca07e9f9-71ea-440d-97a2-c2c731ab3899) and expanded: ![image](https://github.com/vercel/next.js/assets/1365881/1f73e632-890d-4681-8f21-ef502c676aae) ### Other Turbopack changes * https://github.com/vercel/turbo/pull/4235 <!-- Leah - chore(turborepo-lib): use compile error for feature validation --> * https://github.com/vercel/turbo/pull/7285 <!-- Tobias Koppers - resolve source maps that are attached in source code --> * https://github.com/vercel/turbo/pull/7301 <!-- Donny/강동윤 - fix(turbopack): Reverse order of css chunks to fix css module issues --> * https://github.com/vercel/turbo/pull/7286 <!-- Tobias Koppers - guess original source for generated code -->
Author
Parents
Loading