Skip to content

Commit

Permalink
Fix usage with "module": "nodenext" (#356)
Browse files Browse the repository at this point in the history
* Fix usage with "module": "nodenext"

* Add to OTHER_FILES
  • Loading branch information
Methuselah96 authored Feb 24, 2023
1 parent c5f86a1 commit d39ea62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions types/three/OTHER_FILES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build/three.d.cts
build/three.d.ts
build/three.module.d.ts
examples/jsm/animation/AnimationClipCreator.d.ts
Expand Down
2 changes: 2 additions & 0 deletions types/three/build/three.d.cts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from '../src/Three';
export as namespace THREE;
1 change: 0 additions & 1 deletion types/three/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"private": true,
"type": "module",
"exports": {
".": {
"import": "./build/three.module.js",
Expand Down

0 comments on commit d39ea62

Please sign in to comment.