I successfully packed my npm module with ng-packagr
And its working fine. The problem is, i don't seem to be able to import from any folder beneath the root folder. That is
import { ButtonModule } from "my-components/button/";
Throws the error
Module not found : Error Can't resolve "my-components/button"
But
import { ButtonModule } from "my-components";
Works fine. Please what am i missing ? Any help would be appreciated.