When you install a library package, the mapping is in the node_modules folder. When you build your own library, it has to be in the tsconfig path.