Skip to content

Commit 211d5d3

Browse files
committedOct 24, 2022
[pkg] Add package.json export
Fixes #2091
1 parent c4d6eb3 commit 211d5d3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@
1717
"license": "MIT",
1818
"main": "index.js",
1919
"exports": {
20-
"import": "./wrapper.mjs",
21-
"require": "./index.js"
20+
".": {
21+
"import": "./wrapper.mjs",
22+
"require": "./index.js"
23+
},
24+
"./package.json": "./package.json"
2225
},
2326
"browser": "browser.js",
2427
"engines": {

0 commit comments

Comments
 (0)
Please sign in to comment.