I am facing Error: **Cannot resolve type entity i10.BidiModule to symbol** while building angular Lib project. There are 2 other lib projects which are building fine. This new lib project works well without flex layout and material. But when I use flex layout or material in this project I got below error. I have search a lot. There is solution like including `"preserveSymlinks": true` in tsconfig.lib.json. Unfortunately its not working for me.
Any help on this will be welcome.

[![enter image description here](https://i.stack.imgur.com/4TG8d.png)](https://i.stack.imgur.com/4TG8d.png)