]>
Commit | Line | Data |
---|---|---|
4a6995be C |
1 | // Polyfills |
2 | // (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here) | |
3 | ||
a64668c0 C |
4 | require('intl'); |
5 | require('intl/locale-data/jsonp/en.js'); | |
6 | import 'ie-shim'; // Internet Explorer | |
4a6995be C |
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 | ||
b20b5fed | 16 | if ('production' !== ENV) { |
4a6995be C |
17 | Error.stackTraceLimit = Infinity; |
18 | ||
19 | require('zone.js/dist/long-stack-trace-zone'); | |
4a6995be | 20 | } |