Skip to content

Commit

Permalink
fix: types for esm
Browse files Browse the repository at this point in the history
  • Loading branch information
htdangkhoa committed Jun 19, 2024
1 parent f0280a2 commit 7dba7f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@
"[email protected]"
],
"license": "MIT",
"main": "dist/cjs/lib/index.js",
"module": "dist/esm/lib/index.js",
"main": "./dist/cjs/lib/index.js",
"module": "./dist/esm/lib/index.js",
"types": "./dist/types/lib/index.d.ts",
"files": [
"dist"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/types/lib/index.d.ts",
"import": "./dist/esm/lib/index.js",
"require": "./dist/cjs/lib/index.js"
}
Expand Down

0 comments on commit 7dba7f7

Please sign in to comment.