Skip to content

Commit d88262a

Browse files
Jest doesn't support object exports in package.json in ESM mode (#741)
1 parent 6deb2d8 commit d88262a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@
1111
"npm": "^10.9.2"
1212
},
1313
"type": "module",
14-
"exports": {
15-
".": {
16-
"import": "./dist/index.js",
17-
"types": "./dist/index.d.ts"
18-
},
19-
"./package.json": "./package.json"
20-
},
14+
"exports": "./dist/index.js",
2115
"module": "./dist/index.js",
2216
"types": "./dist/index.d.ts",
2317
"files": [

0 commit comments

Comments
 (0)