Skip to content
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

fix: aot runtime issues #3807

Merged
merged 2 commits into from
Mar 31, 2017
Merged

fix: aot runtime issues #3807

merged 2 commits into from
Mar 31, 2017

Commits on Mar 27, 2017

  1. fix: aot runtime issues

    Currently when using the `MdSnackBar` in AOT, there will be runtime exceptions from the NgFactory. Those are caused by the re-exports of DI tokens.
    
    The Angular compiler will then look for the first export e.g `MdLiveAnnouncer` and the normal `LiveAnnouncer` export wont be included in the factory.
    
    This is breaking at runtime now, because the NgFactory searches for `LiveAnnouncer` but there is only the `LiveAnnouncer` (DI exception)
    
    Since this deprecation is pretty old we can safely remove it anyways. Although this is probably an Angular that should be reported separately.
    
    Also this commit fixes the output directory of the `aot` gulp task. Currently it outputs the factories in a wrong directory. (This allows us to serve the aot demo-app in the future)
    devversion committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    42b2a00 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2017

  1. Configuration menu
    Copy the full SHA
    c57a231 View commit details
    Browse the repository at this point in the history