UNPKG

1.77 kBTypeScriptView Raw
1/**
2 * This file includes polyfills needed by Angular and is loaded before the app.
3 * You can add your own extra polyfills to this file.
4 *
5 * This file is divided into 2 sections:
6 * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
7 * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
8 * file.
9 *
10 * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11 * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12 * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
13 *
14 * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
15 */
16/** *************************************************************************************************
17 * BROWSER POLYFILLS
18 */
19/** IE9, IE10 and IE11 requires all of the following polyfills. * */
20/** IE10 and IE11 requires the following for NgClass support on SVG elements */
21/** Evergreen browsers require these. * */
22import 'core-js/es/reflect';
23import 'core-js/proposals/reflect-metadata';
24/**
25 * Required to support Web Animations `@angular/animation`.
26 * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation
27 * */
28/** *************************************************************************************************
29 * Zone JS is required by Angular itself.
30 */
31import 'zone.js/dist/zone';
32/** *************************************************************************************************
33 * APPLICATION IMPORTS
34 */
35/**
36 * Date, currency, decimal and percent pipes.
37 * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
38 */
39/**
40 * Need to import at least one locale-data with intl.
41 */