I using Angular 4 CLI and using NodeJS for building. On development the app running correct on Internet Explorer 11 and current Chrome and Firefox.
If I add the Production Mode on NodeJS Build see example from package.json:
"build": "ng build --prod"
Following error message appering on IE11
The IE 11 throws Errors on Console and the Angular App is not working.
Script0511: Code from released script can't be executed
polyfills.<hash>.bundle.js
ERROR Error: Uncaught (in promise): Error: No provider for e!
ERROR TypeError: jt(...) is undefined
I already activated all polyfills for es6 and see no difference on the browser.
Angular Version 4.2.5
core-js 2.5.0 (polyfills)
uglify-js 2.8.29 (file hash)
Internet Explorer 11.1045.10586.0
I want to use the production mode because I have a name conflict with the chunk filenames on java redirects. So a functional-production mode would be great.
Any hint, idea, pointing to right direction could be helpful.
My google search gave me following results:
angular-2-4-not-working-in-ie11
Thanks in advance