Skip to content

Commit

Permalink
fix for missing type for v2 enptry point (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbycarter authored Dec 2, 2024
1 parent 7699230 commit 1a7ea84
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@
"logo.svg"
],
"exports": {
".": "./dist/prodia.js",
"./v2": "./dist/v2/index.js"
".": {
"import": "./dist/prodia.js",
"require": "./dist/prodia.js",
"types": "./dist/prodia.d.ts"
},
"./v2": {
"import": "./dist/v2/index.js",
"require": "./dist/v2/index.js",
"types": "./dist/v2/index.d.ts"
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down

0 comments on commit 1a7ea84

Please sign in to comment.