-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AOT with @angular/material #1301
Comments
Update: |
Ok, getting closer...
Works... the material exports? |
Ok, more clues... This is the material
this is the
It looks like the setup can't handle wildcard exports Changing the
(using only the module....) ###Everything works! Property names minified as well. Here's an interesting point:
Works (for MaterialModule only) but the property names are no minified! |
This is a problem with the Material / Webpack, not the seed or configuration Roll back to alpha.11-3 |
Trying to use the new AOT I get a weird behaviour with
@angular/material
The error says:
Basically the
MaterialModule
is undefined so callingMaterialModule.forRoot()
causes the error.My imports are as usual:
Looking at the generated code shows something interesting:
Material is the only module that is left intact.
I'm not using AOT compilation, just running
npm run start
Any ideas?
The text was updated successfully, but these errors were encountered: