Print unmapped source lines when the source map source is not found. Error stacks should be correctly mapped even when the source is absent. PR-URL: https://github.com/nodejs/node/pull/44052 Refs: https://github.com/nodejs/node/pull/44019 Reviewed-By: Ben Coe <bencoe@gmail.com>
9 lines
No EOL
260 B
JavaScript
9 lines
No EOL
260 B
JavaScript
function Throw() {
|
|
throw new Error('foo');
|
|
}
|
|
Throw();
|
|
// To recreate:
|
|
//
|
|
// npx tsc --outDir test/fixtures/source-map --sourceMap test/fixtures/source-map/no-source.ts
|
|
// rename the "source.[0]" to "file-not-exists.ts"
|
|
//# sourceMappingURL=no-source.js.map
|