mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Neither Webpack nor Turbopack preserve this property. Webpack is even worse because the original source URLs are malformed.
7 lines
268 B
TypeScript
7 lines
268 B
TypeScript
// Compile with pnpm tsc test/e2e/app-dir/server-source-maps/fixtures/default/internal-pkg/sourcemapped.ts --sourceMap --target esnext
|
|
// tsc compile errors can be ignored
|
|
type Fn<T> = () => T
|
|
export function runInternalSourceMapped<T>(fn: Fn<T>): T {
|
|
return fn()
|
|
}
|