1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/tests/specs/npm/specifier_two_slashes/main.ts
David Sherret 186b52731c
fix(node): handle resolving ".//<something>" in npm packages (#26920)
The issue was this package had an import like: `".//index.js"` and we
resolved that as specified, but node normalizes it to `"./index.js"` so
we have to copy node.
2024-11-19 09:57:12 -05:00

3 lines
84 B
TypeScript

import { add } from "npm:@denotest/specifier-two-slashes";
console.log(add(1, 2));