Skip to content

Commit ac0045e

Browse files
committed
🚑 Fix exports field for Next.js
Fixes: `Module not found: Default condition should be last one`
1 parent 631addf commit ac0045e

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
@@ -10,8 +10,8 @@
1010
"exports": {
1111
".": {
1212
"import": {
13-
"default": "./esm/index.js",
14-
"types": "./types/index.d.ts"
13+
"types": "./types/index.d.ts",
14+
"default": "./esm/index.js"
1515
}
1616
}
1717
},

0 commit comments

Comments
 (0)