Skip to content

Commit 60f6944

Browse files
committed
chore: add vendor to exports
1 parent b929098 commit 60f6944

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,16 @@
1414
"bugs": {
1515
"url": "https://github.com/DouglasNeuroInformatics/libjs/issues"
1616
},
17-
"main": "./dist/index.js",
18-
"types": "./dist/index.d.ts",
17+
"exports": {
18+
".": {
19+
"types": "./dist/index.d.ts",
20+
"import": "./dist/index.js"
21+
},
22+
"./vendor/*": {
23+
"types": "./dist/vendor/*.d.ts",
24+
"import": "./dist/vendor/*.js"
25+
}
26+
},
1927
"files": [
2028
"dist"
2129
],

0 commit comments

Comments
 (0)