]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/polyfills.browser.ts
Display error message in signup page (#128)
[github/Chocobozzz/PeerTube.git] / client / src / polyfills.browser.ts
CommitLineData
df98563e
C
1/* tslint: disable */
2
4a6995be
C
3// Polyfills
4// (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here)
5
a64668c0
C
6require('intl');
7require('intl/locale-data/jsonp/en.js');
8import 'ie-shim'; // Internet Explorer
4a6995be
C
9
10// Prefer CoreJS over the polyfills above
ab32b0fc
C
11import 'core-js/es6/symbol';
12import 'core-js/es6/object';
13import 'core-js/es6/function';
14import 'core-js/es6/parse-int';
15import 'core-js/es6/parse-float';
16import 'core-js/es6/number';
17import 'core-js/es6/math';
18import 'core-js/es6/string';
19import 'core-js/es6/date';
20import 'core-js/es6/array';
21import 'core-js/es6/regexp';
22import 'core-js/es6/map';
23import 'core-js/es6/set';
24import 'core-js/es6/weak-map';
25import 'core-js/es6/weak-set';
26import 'core-js/es6/typed';
27import 'core-js/es6/reflect';
28// see issue https://github.com/AngularClass/angular2-webpack-starter/issues/709
29// import 'core-js/es6/promise';
30
4a6995be 31import 'core-js/es7/reflect';
ab32b0fc 32import 'zone.js/dist/zone';
4a6995be 33
b20b5fed 34if ('production' !== ENV) {
4a6995be
C
35 Error.stackTraceLimit = Infinity;
36
37 require('zone.js/dist/long-stack-trace-zone');
4a6995be 38}