I've made a custom angular module library and after using it in my main app the library doesn't work and this is the warning that shows up
Critical dependency: the request of a dependency is an expression
Here's how I'm importing the library
import { MyLibraryModule } from 'my-lib'
in package.json
"library": "file:../dist/UI-library"
Currently I'm installing the from a local directory where the dist files of build library are built.