mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
PR-URL: https://github.com/nodejs/node/pull/40121 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"name": "pkg-exports",
|
|
"exports": {
|
|
"./hole": "./lib/hole.js",
|
|
"./space": "./sp%20ce.js",
|
|
"./valid-cjs": "./asdf.js",
|
|
"./sub/*": "./*",
|
|
"./belowdir/*": "../belowdir/*",
|
|
"./belowfile": "../belowfile",
|
|
"./null": null,
|
|
"./null/": null,
|
|
"./invalid1": {},
|
|
"./invalid2": 1234,
|
|
"./invalid3": "",
|
|
"./invalid4": {},
|
|
"./invalid5": "invalid5.js",
|
|
"./fallbackdir/*": [[], null, {}, "builtin:x/*", "./*"],
|
|
"./fallbackfile": [[], null, {}, "builtin:x", "./asdf.js"],
|
|
"./nofallback1": [],
|
|
"./nofallback2": [null, {}, "builtin:x"],
|
|
"./nodemodules": "./node_modules/internalpkg/x.js",
|
|
"./no-addons": {
|
|
"node-addons": "./addons-entry.js",
|
|
"default": "./no-addons-entry.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"
|
|
},
|
|
"./*/trailer": "./subpath/*.js",
|
|
"./*/*railer": "never",
|
|
"./*trailer": "never",
|
|
"./*/dir2/trailer": "./subpath/*/index.js",
|
|
"./a/*": "./subpath/*.js",
|
|
"./a/b/": "./nomatch/",
|
|
"./a/b*": "./subpath*.js",
|
|
"./subpath/*": "./subpath/*",
|
|
"./subpath/sub-*": "./subpath/dir1/*.js",
|
|
"./subpath/sub-*.js": "./subpath/dir1/*.js",
|
|
"./features/*": "./subpath/*/*.js",
|
|
"./trailing-pattern-slash*": "./trailing-pattern-slash*index.js"
|
|
}
|
|
}
|