Skip to content

Commit

Permalink
fix(types): export import and require fields
Browse files Browse the repository at this point in the history
  • Loading branch information
rbardini committed Aug 25, 2024
1 parent 61fe3e5 commit 89d63a7
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,22 @@
"author": "Rafael Bardini",
"type": "module",
"exports": {
"require": "./dist/index.cjs",
"default": "./dist/index.js"
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"unpkg": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"source": "index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"bin": {
"jsonresume-theme-even": "bin/cli.js"
},
Expand Down

0 comments on commit 89d63a7

Please sign in to comment.