1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 11:27:57 -05:00
denoland-deno/tests/specs/npm/dual_cjs_esm/esm_referrer/main.ts

7 lines
249 B
TypeScript
Raw Normal View History

2024-09-25 14:46:18 -04:00
import { getKind } from "npm:@denotest/dual-cjs-esm@latest"; // test out @latest dist tag
import * as cjs from "npm:@denotest/dual-cjs-esm@latest/cjs/main.cjs";
console.log(getKind());
console.log(cjs.getKind());
console.log(cjs.getSubPathKind());