Skip to content

Commit

Permalink
fix(packages): Fix build error with moduleResolution:bundler
Browse files Browse the repository at this point in the history
Add types files in exports of react package

Fix #3541
  • Loading branch information
nekoya authored and netil committed Nov 30, 2023
1 parent 481a43b commit 9c17eea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ Jørn Andre Sundt <[email protected]>
Erik Hopp <[email protected]>
Do Yoon Kim <[email protected]>
RobinDeeCee <[email protected]>
nekoya <[email protected]>
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/billboardjs-react.js",
"require": "./dist/billboardjs-react.cjs"
}
Expand Down

0 comments on commit 9c17eea

Please sign in to comment.