Skip to content

Commit 4a5dbb2

Browse files
committed
fix(): some tools still don't parse package.exports, so reintroduce package.main for full compatibility.
1 parent 56eb258 commit 4a5dbb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"release": "semantic-release --no-ci"
3232
},
3333
"type": "module",
34+
"main": "./dist/index.js",
3435
"exports": {
3536
"require": "./dist/index.js",
3637
"import": "./dist/index.esm.js"

0 commit comments

Comments
 (0)