PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.91k stars 1.35k forks source link

Application does not run on IE9 #207

Open warjohn123 opened 7 years ago

warjohn123 commented 7 years ago

When I npm start the application, on IE9 it has this error:

webpack-hot-middleware's client requires EventSource to work. You should include a polyfill if you want to support this browser: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events#Tools

fesor commented 7 years ago

You should include a polyfill if you want to support this browser: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events#Tools

Basicly this is the answer. Just add this polyfil only for your dev builds. Or you could just disable wepack-hot-middleware.