Skip to content

migrate 'three/examples' modules to 'three/src' incl. all dependencies and available type definitions. This way they can be imported from 'three' and are treeshakable.

License

Notifications You must be signed in to change notification settings

vatro/threeshake

Repository files navigation

Release canceled (may be reconsidered) in favor of three-shaking with Vite! Even though this is working and might be usefull in certain scenarios, release has been canceled in favor of three-shaking with Vite. Please star / leave a comment if you would like to see it published as an npm package despite the fact it may be obsolete nowadays.

threeshake

Initial Motivation: faster generation of future svelthree-three versions

Primary: Make three/examples folder modules importable ... from 'three' / treeshakable incl. all resolved dependencies and typings.

Also cool: Got used to having type definitions included in the three.js source? threeshake can bring them back / migrate them from @types/three.

image

About

migrate 'three/examples' modules to 'three/src' incl. all dependencies and available type definitions. This way they can be imported from 'three' and are treeshakable.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published