Hello,
I'm currently trying to setup a typescript library alongside an application.
The reason why I want to do so is, that I do have a server and client and both are sharing common logic.
I already tried to add the shared library as dependency but sadly without success.
The only way with which I got it to work was by importing the file directly.
Like:
import { CMath } from "../../shared-lib/src/math";
My question would be, what is the preffered way to do so? Because I saw there multiple ways to achieve that. (References / Dependencies as also as I did)
And what do I have to do, to get it working.