]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - client/src/polyfills.ts
Tags directory in gitignore
[github/Chocobozzz/PeerTube.git] / client / src / polyfills.ts
... / ...
CommitLineData
1// Polyfills
2// (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here)
3
4require('intl');
5require('intl/locale-data/jsonp/en.js');
6import 'ie-shim'; // Internet Explorer
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
16if ('production' !== ENV) {
17 Error.stackTraceLimit = Infinity;
18
19 require('zone.js/dist/long-stack-trace-zone');
20}