Skip to content

Commit 9a614c7

Browse files
committed
Fix exports to match tsup output (.js for ESM, .cjs for CJS)
1 parent 5a69a68 commit 9a614c7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@
2424
"url": "https://github.com/unlibra/next-i18n-tiny/issues"
2525
},
2626
"homepage": "https://github.com/unlibra/next-i18n-tiny#readme",
27-
"main": "./dist/index.js",
28-
"module": "./dist/index.mjs",
27+
"main": "./dist/index.cjs",
28+
"module": "./dist/index.js",
2929
"types": "./dist/index.d.ts",
3030
"exports": {
3131
".": {
3232
"types": "./dist/index.d.ts",
33-
"import": "./dist/index.mjs",
34-
"require": "./dist/index.js"
33+
"import": "./dist/index.js",
34+
"require": "./dist/index.cjs"
3535
},
3636
"./types": {
3737
"types": "./dist/types.d.ts",
38-
"import": "./dist/types.mjs",
39-
"require": "./dist/types.js"
38+
"import": "./dist/types.js",
39+
"require": "./dist/types.cjs"
4040
}
4141
},
4242
"files": [

0 commit comments

Comments
 (0)