Skip to content

Commit ffa2b1b

Browse files
authored
fix: use default export map syntax for ESM/CJS (#2830)
1 parent 1d52600 commit ffa2b1b

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

package.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,10 @@
2121
"nextauth"
2222
],
2323
"exports": {
24-
".": {
25-
"import": "./index.js"
26-
},
27-
"./jwt": {
28-
"import": "./jwt/index.js"
29-
},
30-
"./react": {
31-
"import": "./react/index.js"
32-
},
33-
"./providers/*": {
34-
"import": "./providers/*.js"
35-
}
24+
".": "./index.js",
25+
"./jwt": "./jwt/index.js",
26+
"./react": "./react/index.js",
27+
"./providers/*": "./providers/*.js"
3628
},
3729
"scripts": {
3830
"build": "npm run build:js && npm run build:css",

0 commit comments

Comments
 (0)