1
|
// Polyfills
|
2
|
// import 'ie-shim'; // Internet Explorer 9 support
|
3
|
import "reflect-metadata";
|
4
|
// import 'core-js/es6';
|
5
|
// Added parts of es6 which are necessary for your project or your browser support requirements.
|
6
|
import "core-js/es6/symbol";
|
7
|
import "core-js/es6/object";
|
8
|
import "core-js/es6/function";
|
9
|
import "core-js/es6/parse-int";
|
10
|
import "core-js/es6/parse-float";
|
11
|
import "core-js/es6/number";
|
12
|
import "core-js/es6/math";
|
13
|
import "core-js/es6/string";
|
14
|
import "core-js/es6/date";
|
15
|
import "core-js/es6/array";
|
16
|
import "core-js/es6/regexp";
|
17
|
import "core-js/es6/map";
|
18
|
import "core-js/es6/set";
|
19
|
import "core-js/es6/weak-map";
|
20
|
import "core-js/es6/weak-set";
|
21
|
import "core-js/es6/typed";
|
22
|
import "core-js/es6/reflect";
|
23
|
import "core-js/es7/reflect";
|
24
|
import "zone.js/dist/zone";
|
25
|
// see issue https://github.com/AngularClass/angular2-webpack-starter/issues/709
|
26
|
// import 'core-js/es6/promise';
|
27
|
|
28
|
// if ('production' === ENV) {
|
29
|
// // Production
|
30
|
//
|
31
|
// } else {
|
32
|
//
|
33
|
// // Development
|
34
|
// Error.stackTraceLimit = Infinity;
|
35
|
//
|
36
|
// /* tslint:disable no-var-requires */
|
37
|
// require('zone.js/dist/long-stack-trace-zone');
|
38
|
//
|
39
|
// }
|