mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
2f651b2d64
This commit changes how paths for npm packages are handled, by canonicalizing them when resolving. This is done so that instead of returning "node_modules/<package_name>@<version>/node_modules/<dep>/index.js" (which is a symlink) we "node_modules/<dep>@<dep_version>/index.js. Fixes https://github.com/denoland/deno/issues/18924 Fixes https://github.com/bluwy/create-vite-extra/issues/31 --------- Co-authored-by: David Sherret <dsherret@gmail.com>
3 lines
99 B
JavaScript
3 lines
99 B
JavaScript
import * as d from "define-properties";
|
|
|
|
console.log(typeof d.default === "function", "it works");
|