mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -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.
4 lines
110 B
JavaScript
4 lines
110 B
JavaScript
// looks like an AMD module, but isn't
|
|
const define = () => {};
|
|
define(["fake_module"], () => {});
|
|
export {};
|