mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
PR-URL: https://github.com/nodejs/node/pull/34637 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Jan Krems <jan.krems@gmail.com>
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "pkg-exports",
|
|
"exports": {
|
|
"./hole": "./lib/hole.js",
|
|
"./space": "./sp%20ce.js",
|
|
"./valid-cjs": "./asdf.js",
|
|
"./sub/": "./",
|
|
"./belowdir/": "../belowdir/",
|
|
"./belowfile": "../belowfile",
|
|
"./missingtrailer/": ".",
|
|
"./null": null,
|
|
"./null/": null,
|
|
"./invalid1": {},
|
|
"./invalid2": 1234,
|
|
"./invalid3": "",
|
|
"./invalid4": {},
|
|
"./invalid5": "invalid5.js",
|
|
"./fallbackdir/": [[], null, {}, "builtin:x/", "./fallbackfile", "./"],
|
|
"./fallbackfile": [[], null, {}, "builtin:x", "./asdf.js"],
|
|
"./nofallback1": [],
|
|
"./nofallback2": [null, {}, "builtin:x"],
|
|
"./nodemodules": "./node_modules/internalpkg/x.js",
|
|
"./condition": [{
|
|
"custom-condition": {
|
|
"import": "./custom-condition.mjs",
|
|
"require": "./custom-condition.js"
|
|
},
|
|
"import": "///overridden",
|
|
"require": {
|
|
"require": {
|
|
"nomatch": "./nothing.js"
|
|
},
|
|
"default": "./sp ce.js"
|
|
},
|
|
"default": "./asdf.js",
|
|
"node": "./lib/hole.js",
|
|
"import": {
|
|
"nomatch": "./nothing.js"
|
|
}
|
|
}],
|
|
"./no-ext": "./asdf",
|
|
"./resolve-self": {
|
|
"require": "./resolve-self.js",
|
|
"import": "./resolve-self.mjs"
|
|
},
|
|
"./resolve-self-invalid": {
|
|
"require": "./resolve-self-invalid.js",
|
|
"import": "./resolve-self-invalid.mjs"
|
|
},
|
|
"./subpath/": "./subpath/"
|
|
}
|
|
}
|