musehq / spacesvr

A standardized reality for the future of the 3D Web.
https://spacesvr.io
MIT License
182 stars 35 forks source link

Fix yarn link #48

Open alex-shortt opened 3 years ago

alex-shortt commented 3 years ago

For some reason yarn link doesn't work, probably has something to do with the build settings. Needs to be fixed for faster development.

alex-shortt commented 2 years ago

because of a few things (peer deps, output file format), this won't work too well. i got it working though by doing the following

in spacesvr, run tsc --watch and rollup -c --watch to continuously compile spacesvr locally in spacesvr /dist, run yalc publish in your consuming repo, run yarn add spacesvr to install the remote version with all the proper dependencies in your consuming repo, run yalc add spacesvr to then reference the local version of spacesvr

https://github.com/wclr/yalc

should be good to go!