1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 10:07:54 -05:00
denoland-deno/cli/tests/bundle/fixture06.out
Luca Casonato 40fc5f55ea
chore: update crates (#9251)
Updates SWC, dprint, deno_lint, deno_doc, serde, and Tokio (to 1.1.0).

Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-26 17:00:40 +01:00

12 lines
309 B
Text

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