Skip to content

Commit

Permalink
fix: separate cjs and mjs typings
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Nov 10, 2023
1 parent d43252a commit 5e314df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 6.4.0
### 6.4.1

- fix: separate cjs and mjs typings

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
".": {
"types": {
"require": "./cjs/index.d.ts",
"import": "./esm/index.d.ts"
"import": "./esm/index.d.mts"
},
"module": "./esm/index.js",
"import": "./esm/index.js",
Expand All @@ -32,15 +32,15 @@
"default": "./cjs/index.js"
},
"./esm": {
"types": "./esm/index.d.ts",
"types": "./esm/index.d.mts",
"default": "./esm/index.js"
}
},
"module": "./esm/index.js",
"dependencies": {
"cross-fetch": "4.0.0"
},
"types": "./index.d.ts",
"types": "./index.d.mts",
"devDependencies": {
"@babel/cli": "7.23.0",
"@babel/core": "7.23.3",
Expand Down

0 comments on commit 5e314df

Please sign in to comment.