mirror of
https://github.com/denoland/deno.git
synced 2025-02-02 04:38:21 -05:00
9cd7d59840
This commit updates "deno_typescript" crate to properly map bundle entrypoint file to internal specifier. All import specifiers were remapped from "file:///a/b/c.ts" to "$deno$/a/b/c.ts", but that was not the case for entrypoint file "main.ts" and "compiler.ts". Because of that internal stack traces were inconsistent; showing "file:///some/random/path/on/ci/machine.ts" URL in frames that originate from "main.ts" or "compiler.ts" and "$deno$/file.ts" for all other imports.
8 lines
598 B
Text
8 lines
598 B
Text
[WILDCARD]error: Uncaught NotFound: Cannot resolve module "[WILDCARD]/bad-module.ts" from "[WILDCARD]/error_004_missing_module.ts"
|
|
at unwrapResponse ([WILDCARD]dispatch_json.ts:[WILDCARD])
|
|
at Object.sendAsync ([WILDCARD]dispatch_json.ts:[WILDCARD])
|
|
at async processImports ($deno$/compiler/imports.ts:[WILDCARD])
|
|
at async Object.processImports ($deno$/compiler/imports.ts:[WILDCARD])
|
|
at async compile ($deno$/compiler.ts:[WILDCARD])
|
|
at async tsCompilerOnMessage ($deno$/compiler.ts:[WILDCARD])
|
|
at async workerMessageRecvCallback ([WILDCARD]runtime_worker.ts:[WILDCARD])
|