Resolving blank page problem of Aurelia app with webpack on Safari

Posted on 2016-06-03 in Aurelia • Tagged with aurelia, aurelia-i18n, i18n, Intl, Safari, Webpack

While asking users to test an Aurelia application, it appeared that it didn't work on Safari due to this error:

Error in Safari console: Unhandled rejection webpackContextResolve

It comes from the fact that Safari doesn't support the internationalization (window.Intl) API.

In order to solve it, I had to manually include the Intl.js polyfill. Since it …


Continue reading