Skip to content

Commit f94b456

Browse files
authoredJul 18, 2022
Export package.json path (#339)
1 parent 30ffed0 commit f94b456

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@
1212
"node": "^12.20.0 || ^14.13.0 || >=16.0.0"
1313
},
1414
"exports": {
15-
"import": "./index.mjs",
16-
"require": "./index.js",
17-
"default": "./index.js",
18-
"types": "./dist/src/index.d.ts"
15+
".": {
16+
"import": "./index.mjs",
17+
"require": "./index.js",
18+
"default": "./index.js",
19+
"types": "./dist/src/index.d.ts"
20+
},
21+
"./package.json": "./package.json"
1922
},
2023
"scripts": {
2124
"build": "tsc --build",

0 commit comments

Comments
 (0)
Please sign in to comment.