I have a situation where two different applications should share some code. I would like to put this code in a separate folder or package that can be managed in a separate Git repository and depended-upon by the two applications. What is the best way to do it?
I tried following the instructions at Writing npm Packages, but ran into the problem that es6 exports did not work. I asked about that in the comments on that page, but have received no response.
Would it make more sense just to move the shared code to another folder and use symbolic links? What strategy do folks suggest?