Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hrgdavor committed Oct 10, 2023
1 parent 4be5932 commit f3aa8d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/render-threejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ const renderer = RenderThreejs({PerspectiveCamera, HemisphereLight, WebGLRendere

## Creating a smaller Three.js bundle

Use `bundle.example.js`, it has all needed dependencies. It is smaller than full build, but may not be the smallest possible.
Use `bundle.example.js` as an example to build your own smaller bundle, it has all needed dependencies. It is smaller than full build, but may not be the smallest possible.

Three.js bundle that is minimised but usable in jscad renderer At version `0.146.0` it is about 430 KB.

If you need few more things, add them too ofc..




0 comments on commit f3aa8d9

Please sign in to comment.