aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/polyfills.browser.ts
blob: b1a63165551f2ea4a1cb1d2b4bc023ae5565c829 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                     


                                                                                               


                                        

                                         



















                                                                                
                             
                           
 
                           


                                                
 
/* tslint: disable */

// Polyfills
// (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here)

require('intl');
require('intl/locale-data/jsonp/en.js');
import 'ie-shim'; // Internet Explorer

// Prefer CoreJS over the polyfills above
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/set';
import 'core-js/es6/weak-map';
import 'core-js/es6/weak-set';
import 'core-js/es6/typed';
import 'core-js/es6/reflect';
// see issue https://github.com/AngularClass/angular2-webpack-starter/issues/709
// import 'core-js/es6/promise';

import 'core-js/es7/reflect';
import 'zone.js/dist/zone';

if ('production' !== ENV) {
  Error.stackTraceLimit = Infinity;

  require('zone.js/dist/long-stack-trace-zone');
}