Skip to content

Commit 426c124

Browse files
committed
[Breaking] add "exports" to package.json
1 parent 292fa8e commit 426c124

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

package.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,44 @@
77
"url": "git://github.com/browserify/resolve.git"
88
},
99
"main": "index.js",
10+
"exports": {
11+
".": [
12+
{
13+
"default": "./index.js"
14+
},
15+
"./index.js"
16+
],
17+
"./lib/core": [
18+
{
19+
"default": "./lib/core.js"
20+
},
21+
"./lib/core.js"
22+
],
23+
"./lib/core.json": [
24+
{
25+
"default": "./lib/core.json"
26+
},
27+
"./lib/core.json"
28+
],
29+
"./lib/is-core": [
30+
{
31+
"default": "./lib/is-core.js"
32+
},
33+
"./lib/is-core.js"
34+
],
35+
"./lib/sync": [
36+
{
37+
"default": "./lib/sync.js"
38+
},
39+
"./lib/sync.js"
40+
],
41+
"./lib/async": [
42+
{
43+
"default": "./lib/async.js"
44+
},
45+
"./lib/async.js"
46+
]
47+
},
1048
"keywords": [
1149
"resolve",
1250
"require",

0 commit comments

Comments
 (0)