Angular 2 - IE11 The value of the property 'webpackJsonp' is null or undefined, not a Function object

angular, internet-explorer-11, webpack

Solution

I figured it out. I had IE11 in Compatibility mode. I removed it and everything works now. –

Problem

I am new to Angular 2. I installed Angular-CLI (followed https://github.com/angular/angular-cli) and created a sample project. Now, I built the app using "ng build --prod" and had the "dist" folder hosted in IIS. When I browse to the site using "localhost/index.html" in IE11, everything works. The moment i browse to the same site using the server address "ServerName/index.html" I am getting: IE11 The value of the property 'webpackJsonp' is null or undefined, not a Function object However, doing the same in GoogleChrome and Firefox works just fine! Your help/tips is greatly appreciated!

Original source