Angular DI can’t resolve token for same class from different WEBPACK_IMPORTED_MODULE
I’m using ngx-mat-select-search and it’s complaining about missing MatLegacySelect provider that is clearly provided. I started using a dynamic import when this started occuring if that helps. But even though I’m using peerDependencies and marking them as external. It looks like Webpack has created 2 copies of MatLegacySelect in different “modules”, so Angular thinks the classes are different tokens for DI. Any ideas on what causes this?