I use
angular 5.1.2
angular-cli 1.6.2
When I run ng build --prod, I get the following error:
I looked in the docs, and also on SO, but I fail to see what is missing.
ng-serve runs perfectly, my pipe is dynamically updated, but on ng build--prod I get this error always.
This is how I register localeDE in app.module.ts
import { registerLocaleData } from '@angular/common';
import localeDE from '@angular/common/locales/de';
registerLocaleData(localeDE);
What else is needed for ng build--prod to run?
