Skip to content

Commit b6ccd0f

Browse files
authoredMar 23, 2023
fix: ensure type exports is first in package.json export declaration (#1018)
1 parent 385837d commit b6ccd0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"module": "dist/immer.esm.js",
77
"exports": {
88
".": {
9+
"types": "./dist/immer.d.ts",
910
"import": "./dist/immer.esm.mjs",
10-
"require": "./dist/index.js",
11-
"types": "./dist/immer.d.ts"
11+
"require": "./dist/index.js"
1212
},
1313
"./*": "./*"
1414
},

0 commit comments

Comments
 (0)
Please sign in to comment.