Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Importing material module in cli lib with Ivy enabled doesn't work #15465
Not sure if this is a material bug or a cli one but it wasn't happening with other libraries afaik.
What is the expected behavior?
You should be able to import a module like
What is the current behavior?
It works with ivy disabled but when you enable ivy it breaks with the following error.
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
Create a cli library with an ng module that imports a material module, enable ivy, then try and build it.
Enabled ivy renderer in your
Also doesn't work with
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
Works fine using angular v8 beta with ivy disabled(also worked on 7.x).
It works if you import material libraries in a regular app project for some reason with ivy enabled.
@vladimirdjurdjevic After messing with it more today my assumption is that ivy just isn't finished yet hence the beta and aot isn't fully supported or it possible needs some lib updates?
Specifically the docs on "ngModule-less bootstrapping" are not really there and using