Skip to content

Commit a5f1421

Browse files
feat: add ES module support by specifying import path in package.json
1 parent 9a5c2b6 commit a5f1421

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"main": "dist/index.js",
4343
"exports": {
4444
".": {
45+
"import": "./dist/index.js",
4546
"require": "./dist/index.js",
4647
"types": "./dist/index.d.ts"
4748
},

0 commit comments

Comments
 (0)