spacesvr icon indicating copy to clipboard operation
spacesvr copied to clipboard

Fix yarn link

Open alex-shortt opened this issue 3 years ago • 1 comments

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 avatar Jun 05 '21 01:06 alex-shortt

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!

alex-shortt avatar Jul 27 '22 23:07 alex-shortt