Open alex-shortt opened 3 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
should be good to go!
For some reason yarn link doesn't work, probably has something to do with the build settings. Needs to be fixed for faster development.