Client: implement password change
[oweals/peertube.git] / client / src / polyfills.ts
1 // Polyfills
2 // (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here)
3
4 require('intl');
5 require('intl/locale-data/jsonp/en.js');
6 import 'ie-shim'; // Internet Explorer
7
8 // Prefer CoreJS over the polyfills above
9 import 'core-js/es6';
10 import 'core-js/es7/reflect';
11 require('zone.js/dist/zone');
12
13 // Typescript emit helpers polyfill
14 import 'ts-helpers';
15
16 if ('production' !== ENV) {
17   Error.stackTraceLimit = Infinity;
18
19   require('zone.js/dist/long-stack-trace-zone');
20 }