MOBILE-2431 build: Fix database with AOT

main
Dani Palou 2018-06-21 10:29:37 +02:00
parent c7b38b5d6a
commit bfd4dd8ac7
9 changed files with 7 additions and 7 deletions

View File

@ -292,9 +292,9 @@ var templatesSrc = [
'./src/components/**/*.html', './src/components/**/*.html',
'./src/core/**/components/**/*.html', './src/core/**/components/**/*.html',
'./src/core/**/component/**/*.html', './src/core/**/component/**/*.html',
// Only some addon components are injected to compile to decrease load time. Copy only the ones that are needed. // Copy all addon components because any component can be injected using extraImports.
'./src/addon/mod/assign/components/**/*.html', './src/addon/**/components/**/*.html',
'./src/addon/mod/workshop/components/**/*.html' './src/addon/**/component/**/*.html'
], ],
templatesDest = './www/templates'; templatesDest = './www/templates';

View File

@ -20,7 +20,7 @@ import { AddonModWorkshopAssessmentStrategyComponentBase } from '../../../classe
*/ */
@Component({ @Component({
selector: 'addon-mod-workshop-assessment-strategy-accumulative', selector: 'addon-mod-workshop-assessment-strategy-accumulative',
templateUrl: 'accumulative.html', templateUrl: 'addon-mod-workshop-assessment-strategy-accumulative.html',
}) })
export class AddonModWorkshopAssessmentStrategyAccumulativeComponent extends AddonModWorkshopAssessmentStrategyComponentBase { export class AddonModWorkshopAssessmentStrategyAccumulativeComponent extends AddonModWorkshopAssessmentStrategyComponentBase {
} }

View File

@ -20,7 +20,7 @@ import { AddonModWorkshopAssessmentStrategyComponentBase } from '../../../classe
*/ */
@Component({ @Component({
selector: 'addon-mod-workshop-assessment-strategy-comments', selector: 'addon-mod-workshop-assessment-strategy-comments',
templateUrl: 'comments.html', templateUrl: 'addon-mod-workshop-assessment-strategy-comments.html',
}) })
export class AddonModWorkshopAssessmentStrategyCommentsComponent extends AddonModWorkshopAssessmentStrategyComponentBase { export class AddonModWorkshopAssessmentStrategyCommentsComponent extends AddonModWorkshopAssessmentStrategyComponentBase {
} }

View File

@ -20,7 +20,7 @@ import { AddonModWorkshopAssessmentStrategyComponentBase } from '../../../classe
*/ */
@Component({ @Component({
selector: 'addon-mod-workshop-assessment-strategy-numerrors', selector: 'addon-mod-workshop-assessment-strategy-numerrors',
templateUrl: 'numerrors.html', templateUrl: 'addon-mod-workshop-assessment-strategy-numerrors.html',
}) })
export class AddonModWorkshopAssessmentStrategyNumErrorsComponent extends AddonModWorkshopAssessmentStrategyComponentBase { export class AddonModWorkshopAssessmentStrategyNumErrorsComponent extends AddonModWorkshopAssessmentStrategyComponentBase {
} }

View File

@ -20,7 +20,7 @@ import { AddonModWorkshopAssessmentStrategyComponentBase } from '../../../classe
*/ */
@Component({ @Component({
selector: 'addon-mod-workshop-assessment-strategy-rubric', selector: 'addon-mod-workshop-assessment-strategy-rubric',
templateUrl: 'rubric.html', templateUrl: 'addon-mod-workshop-assessment-strategy-rubric.html',
}) })
export class AddonModWorkshopAssessmentStrategyRubricComponent extends AddonModWorkshopAssessmentStrategyComponentBase { export class AddonModWorkshopAssessmentStrategyRubricComponent extends AddonModWorkshopAssessmentStrategyComponentBase {
} }