mirror of
https://github.com/denoland/deno.git
synced 2024-11-13 16:26:08 -05:00
6431622a6d
This PR fixes an issue where we recursively analysed imports on plain JS files in the compiler irrespective of "checkJs" being true. This caused problems where when analysing the imports of those files, we would mistake some import like structures (AMD/CommonJS) as dependencies and try to resolve the "modules" even though the compiler would not actually look at those files.
3 lines
72 B
TypeScript
3 lines
72 B
TypeScript
import * as amdLike from "./subdir/amd_like.js";
|
|
|
|
console.log(amdLike);
|