Skip to content

Commit c598852

Browse files
authored
Merge pull request #191 from csandman/types-export-fix
Fix the types export in the exports field of the package.json by making it non-last
2 parents 70b2501 + 923838a commit c598852

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,10 @@
111111
},
112112
"exports": {
113113
".": {
114+
"import": "./dist/esm/index.js",
114115
"require": "./dist/cjs/index.js",
115-
"default": "./dist/esm/index.js",
116-
"types": "./dist/types/index.d.ts"
116+
"types": "./dist/types/index.d.ts",
117+
"default": "./dist/esm/index.js"
117118
}
118119
},
119120
"lint-staged": {

0 commit comments

Comments
 (0)