Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vatro/threeshake
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.
https://github.com/vatro/threeshake
Last synced: 16 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/vatro/threeshake
- Owner: vatro
- License: mit
- Created: 2021-03-22T21:03:29.000Z (over 3 years ago)
- Default Branch: dev
- Last Pushed: 2021-04-10T23:52:53.000Z (over 3 years ago)
- Last Synced: 2024-10-11T12:46:05.967Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 94.7 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Release canceled** (may be reconsidered) in favor of three-shaking with [Vite](https://github.com/vitejs/vite)!
Even though this is working and might be usefull in certain scenarios, release has been canceled in favor of three-shaking with [Vite](https://github.com/vitejs/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](https://github.com/vatro/svelthree-three) versions***Primary:** Make [three/examples](https://github.com/mrdoob/three.js/tree/dev/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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three).
![image](https://user-images.githubusercontent.com/3778969/113224745-58edfa80-928c-11eb-9f5b-67d56bbc7dc8.png)