mirror of
https://github.com/angular/angular.git
synced 2026-11-28 17:37:50 -05:00
This commit adds `ngDevMode` guard to show the warning only in dev mode (similar to how things work in other parts of Ivy runtime code). The `ngDevMode` flag helps to tree-shake the warning from production builds (in dev mode everything will work as it works right now) to decrease production bundle size. PR Close #40876