UNPKG

1.73 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const global_1 = require("@storybook/global");
4/**
5 * This file includes polyfills needed by Angular and is loaded before the app.
6 * You can add your own extra polyfills to this file.
7 *
8 * This file is divided into 2 sections:
9 * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
10 * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
11 * file.
12 *
13 * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
14 * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
15 * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
16 *
17 * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
18 */
19/**
20 * Required to support Web Animations `@angular/animation`.
21 * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation
22 * */
23// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
24/** *************************************************************************************************
25 * Zone JS is required by Angular itself.
26 */
27require("zone.js"); // Included with Angular CLI.
28/** *************************************************************************************************
29 * APPLICATION IMPORTS
30 */
31/**
32 * Date, currency, decimal and percent pipes.
33 * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
34 */
35// import 'intl'; // Run `npm install --save intl`.
36/**
37 * Need to import at least one locale-data with intl.
38 */
39// import 'intl/locale-data/jsonp/en';
40global_1.global.STORYBOOK_ENV = 'angular';