Skip to content

Commit

Permalink
chore: more exports fixed for widget pkg json
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Feb 22, 2024
1 parent 7844194 commit f4c3a78
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/react/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"description": "",
"main": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
}
},
"scripts": {
"build": "tsc -b",
"prepack": "pnpm build"
Expand Down
7 changes: 5 additions & 2 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"description": "",
"main": "dist/esm/index.js",
"exports": {
".": "./dist/esm/index.js"
".": {
"import": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
}
},
"types": "./dist/types/index.d.ts",
"scripts": {
Expand Down Expand Up @@ -42,4 +45,4 @@
"devDependencies": {
"typescript": "^5.1.3"
}
}
}

0 comments on commit f4c3a78

Please sign in to comment.