deno/tests/021_mjs_modules.ts
Kevin (Kun) "Kassimo" Qian 401a5c0211 feat: support .mjs extension resolution (#2283)
Removed `extmap` and added .mjs entry in `map_file_extension`.
The assert in the compiler does not need to be updated, since it is
resolving from the compiled cache instead of elsewhere (notice the .map
is asserted next to it)
2019-05-03 15:03:10 -04:00

3 lines
65 B
TypeScript

import { isMod5 } from "./subdir/mod5.mjs";
console.log(isMod5);