1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/tests/bundle/fixture06.out
2020-11-08 23:27:36 +01:00

12 lines
309 B
Text

const importMeta = {
url: "file:///tests/fixture06.ts",
main: import.meta.main
};
const importMeta1 = {
url: "file:///tests/subdir/f.ts",
main: false
};
const isMain = importMeta1.main;
const modUrl = importMeta1.url;
console.log(isMain, modUrl);
console.log(importMeta.main, importMeta.url);