Skip to content

Commit

Permalink
package json exports typing resolve (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
JichenZhang authored Apr 10, 2024
1 parent 486b6e3 commit cc97670
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"exports": {
".": {
"import": "./build/three.module.js",
"require": "./build/three.cjs"
"require": "./build/three.cjs",
"types": "./index.d.ts"
},
"./examples/fonts/*": "./examples/fonts/*",
"./examples/jsm/*": "./examples/jsm/*",
Expand Down

0 comments on commit cc97670

Please sign in to comment.