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 warnings #39959

Closed
wants to merge 1 commit into from
Closed

perf(core): use ngDevMode to tree-shake warnings #39959

wants to merge 1 commit into from

Commits on Dec 3, 2020

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

    This commit adds `ngDevMode` guard to show sanitization warnings only
    in dev mode (similar to how things work in other parts of Ivy runtime code).
    The `ngDevMode` flag helps to tree-shake these warnings from production builds
    (in dev mode everything will work as it works right now) to decrease production bundle size.
    arturovt authored and mhevery committed Dec 3, 2020
    Copy the full SHA
    d66fe9b View commit details
    Browse the repository at this point in the history