Files
Will Binns-SmithandGitHub 94db8c6ea7 Turbopack server HMR: inline source maps for evaled modules (#90561)
Previously, we lost stack frame information when server hmr code was applied through `eval`. 

This adds and calls \`maybeInlineSourcemap()\` to the Turbopack Node.js HMR runtime that appends \`//# sourceURL\` and \`//# sourceMappingURL\` (base64-encoded) to each `eval`ed module entry. 
    
Test Plan: CI for #90389
2026-02-26 17:36:44 -08:00

6 lines
100 B
TypeScript

// hmr-trigger: 0
export default function Page() {
throw new Error('hmr-sourcemap-test-error')
}