Skip to content

Commit ea06f8e

Browse files
Merge pull request #112 from mailtrap/fix-import-issue
Add ES module support by specifying import path in package.json
2 parents c72c713 + 7703427 commit ea06f8e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@
4141
"license": "MIT",
4242
"main": "dist/index.js",
4343
"exports": {
44-
".": {
45-
"require": "./dist/index.js",
46-
"types": "./dist/index.d.ts"
47-
},
44+
".": "./dist/index.js",
4845
"./package.json": "./package.json"
4946
},
5047
"peerDependencies": {

0 commit comments

Comments
 (0)