]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/polyfills.ts
Tags directory in gitignore
[github/Chocobozzz/PeerTube.git] / client / src / polyfills.ts
CommitLineData
4a6995be
C
1// Polyfills
2// (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here)
3
a64668c0
C
4require('intl');
5require('intl/locale-data/jsonp/en.js');
6import 'ie-shim'; // Internet Explorer
4a6995be
C
7
8// Prefer CoreJS over the polyfills above
9import 'core-js/es6';
10import 'core-js/es7/reflect';
11require('zone.js/dist/zone');
12
13// Typescript emit helpers polyfill
14import 'ts-helpers';
15
b20b5fed 16if ('production' !== ENV) {
4a6995be
C
17 Error.stackTraceLimit = Infinity;
18
19 require('zone.js/dist/long-stack-trace-zone');
4a6995be 20}