Skip to content

Commit

Permalink
perf(module: modal): perf modal import coremodule (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guoyuanqiang authored and fisherspy committed Mar 20, 2019
1 parent fbcc0cf commit a3b9014
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions components/modal/modal.module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { NgModule } from '@angular/core';
import { CommonModule} from '@angular/common';
import { CommonModule } from '@angular/common';
import { CoreModule } from '../core/core.module';
import { ModalComponent, ModalServiceComponent } from './modal.component';
import { ListModule } from '../list/list.module';
import { WingBlankModule } from '../wing-blank/wing-blank.module';
Expand All @@ -9,7 +10,17 @@ import { InputItemModule } from '../input-item/input-item.module';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AlertOptions } from './modal-options.provider';
@NgModule({
imports: [CommonModule, ListModule, WingBlankModule, WhiteSpaceModule, ButtonModule, InputItemModule, FormsModule, ReactiveFormsModule],
imports: [
CommonModule,
CoreModule,
ListModule,
WingBlankModule,
WhiteSpaceModule,
ButtonModule,
InputItemModule,
FormsModule,
ReactiveFormsModule
],
exports: [ModalComponent, ModalServiceComponent],
declarations: [ModalComponent, ModalServiceComponent],
providers: [AlertOptions]
Expand Down

0 comments on commit a3b9014

Please sign in to comment.