Skip to content

Commit b12950a

Browse files
committed
feat: add main and types fields for npm compatibility
1 parent f0fae7c commit b12950a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
},
2424
"./package.json": "./package.json"
2525
},
26+
"main": "./dist/index.js",
27+
"types": "./dist/index.d.ts",
2628
"files": [
2729
"./dist"
2830
],

0 commit comments

Comments
 (0)