Skip to content

Commit

Permalink
switch to tree-shakeable import.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhouston committed Oct 21, 2023
1 parent fe62235 commit 5d2ae3a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
"version": "0.152.2",
"description": "JavaScript 3D library",
"type": "module",
"main": "./build/three.js",
"module": "./build/three.module.js",
"main": "./src/Three.js",
"exports": {
".": {
"import": "./build/three.module.js",
"require": "./build/three.cjs"
"import": "./src/Three.js"
},
"./examples/fonts/*": "./examples/fonts/*",
"./examples/jsm/*": "./examples/jsm/*",
Expand Down

0 comments on commit 5d2ae3a

Please sign in to comment.