perf(angular): bundle size improvements for angular (#16966)

This commit is contained in:
Manu MA
2019-01-07 22:05:36 +01:00
committed by GitHub
parent 45db44abe7
commit 44fb45e2bc
30 changed files with 322 additions and 328 deletions

View File

@ -1,6 +1,4 @@
import { defineCustomElements } from '@ionic/core/loader';
import { addIcons } from 'ionicons';
import { ICON_PATHS } from 'ionicons/icons';
import { Config } from './providers/config';
import { IonicWindow } from './types/interfaces';
@ -10,7 +8,6 @@ export function appInitialize(config: Config) {
const win: IonicWindow | undefined = window as any;
if (typeof win !== 'undefined') {
const Ionic = win.Ionic = win.Ionic || {};
addIcons(ICON_PATHS);
Ionic.config = config;
Ionic.asyncQueue = false;