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
Expand Up @@ -63,3 +63,4 @@ J酶rn Andre Sundt <jorn.andre.sundt@jasmin.no>
Erik Hopp <me@erikhopp.com>
Do Yoon Kim <doyoonkim1002@gmail.com>
RobinDeeCee <robindecock@gmail.com>
nekoya <ryo.studiom@gmail.com>
1 change: 1 addition & 0 deletions packages/react/package.json
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.