Skip to content

Commit 41341ba

Browse files
committed
Update package.json
1 parent cc4e1bc commit 41341ba

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
"version": "0.1.5",
44
"author": "Dan Rowden <[email protected]>",
55
"license": "MIT",
6-
"main": "./dist/index.js",
7-
"exports": "./dist/index.js",
6+
"main": "./dist/index.cjs",
7+
"module": "./dist/index.esm.js",
8+
"exports": {
9+
".": {
10+
"import": "./dist/index.esm.js",
11+
"require": "./dist/index.cjs"
12+
}
13+
},
814
"scripts": {
915
"dev": "tsup --watch",
1016
"build": "tsup"

0 commit comments

Comments
 (0)