Skip to content

Commit f2a8cc2

Browse files
committed
Fix package.json
1 parent 48b6c75 commit f2a8cc2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

package.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
},
99
"license": "MIT",
1010
"author": "Michael Shilman <[email protected]>",
11-
"main": "dist/index.js",
12-
"module": "dist/index.mjs",
13-
"types": "dist/index.d.ts",
11+
"type": "module",
12+
"exports": {
13+
".": {
14+
"types": "./dist/index.d.ts",
15+
"import": "./dist/index.js"
16+
}
17+
},
1418
"files": [
1519
"dist/**/*",
1620
"README.md",

0 commit comments

Comments
 (0)