My situation involves an external library known as Y, which was installed using npm
and loaded from the node_modules
directory. This library is hosted on GitHub and currently being utilized in my project in the following manner:
import { X } from 'Y';
I decided to fork Y and checked it out to a local folder or local git repository.
Now, I am interested in utilizing this local source code instead of the npm package without having to make modifications to my imports
. Is there a possible solution for achieving this? It's important to note that I am using TypeScript and angular-cli.