mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 02:27:46 -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>
7 lines
99 B
JSON
7 lines
99 B
JSON
{
|
|
"name": "foo",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"define-properties": "^1.2.0"
|
|
}
|
|
}
|