MOBILE-2428 aot: Fix AOT build in workshop and latest changes

main
Dani Palou 2018-06-15 12:03:31 +02:00
parent 1393dbda04
commit 0969b5cff1
2 changed files with 9 additions and 3 deletions

View File

@ -17,6 +17,7 @@ import { IonicPageModule } from 'ionic-angular';
import { AddonModLessonPasswordModalPage } from './password-modal';
import { TranslateModule } from '@ngx-translate/core';
import { CoreComponentsModule } from '@components/components.module';
import { CoreDirectivesModule } from '@directives/directives.module';
@NgModule({
declarations: [
@ -24,6 +25,7 @@ import { CoreComponentsModule } from '@components/components.module';
],
imports: [
CoreComponentsModule,
CoreDirectivesModule,
IonicPageModule.forChild(AddonModLessonPasswordModalPage),
TranslateModule.forChild()
]

View File

@ -28,6 +28,7 @@ import { CoreSitePluginsQuestionBehaviourComponent } from './question-behaviour/
import { CoreSitePluginsQuizAccessRuleComponent } from './quiz-access-rule/quiz-access-rule';
import { CoreSitePluginsAssignFeedbackComponent } from './assign-feedback/assign-feedback';
import { CoreSitePluginsAssignSubmissionComponent } from './assign-submission/assign-submission';
import { CoreSitePluginsWorkshopAssessmentStrategyComponent } from './workshop-assessment-strategy/workshop-assessment-strategy';
@NgModule({
declarations: [
@ -40,7 +41,8 @@ import { CoreSitePluginsAssignSubmissionComponent } from './assign-submission/as
CoreSitePluginsQuestionBehaviourComponent,
CoreSitePluginsQuizAccessRuleComponent,
CoreSitePluginsAssignFeedbackComponent,
CoreSitePluginsAssignSubmissionComponent
CoreSitePluginsAssignSubmissionComponent,
CoreSitePluginsWorkshopAssessmentStrategyComponent
],
imports: [
CommonModule,
@ -61,7 +63,8 @@ import { CoreSitePluginsAssignSubmissionComponent } from './assign-submission/as
CoreSitePluginsQuestionBehaviourComponent,
CoreSitePluginsQuizAccessRuleComponent,
CoreSitePluginsAssignFeedbackComponent,
CoreSitePluginsAssignSubmissionComponent
CoreSitePluginsAssignSubmissionComponent,
CoreSitePluginsWorkshopAssessmentStrategyComponent
],
entryComponents: [
CoreSitePluginsModuleIndexComponent,
@ -72,7 +75,8 @@ import { CoreSitePluginsAssignSubmissionComponent } from './assign-submission/as
CoreSitePluginsQuestionBehaviourComponent,
CoreSitePluginsQuizAccessRuleComponent,
CoreSitePluginsAssignFeedbackComponent,
CoreSitePluginsAssignSubmissionComponent
CoreSitePluginsAssignSubmissionComponent,
CoreSitePluginsWorkshopAssessmentStrategyComponent
]
})
export class CoreSitePluginsComponentsModule {}