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

perf(core): use ngDevMode to tree-shake error messages #38612

Closed

Commits on Sep 2, 2020

  1. perf(core): use ngDevMode to tree-shake error messages

    This commit adds `ngDevMode` guard to throw some errors only in dev mode
    (similar to how things work in other parts of Ivy runtime code). The
    `ngDevMode` flag helps to tree-shake these error messages from production
    builds (in dev mode everything will work as it works right now) to decrease
    production bundle size.
    sonukapoor committed Sep 2, 2020
    Copy the full SHA
    6caecbe View commit details
    Browse the repository at this point in the history