Speed up build (#1852)

* single build webpack

* fix demo shell test
This commit is contained in:
Eugenio Romano
2017-05-03 13:01:00 +02:00
committed by Eugenio Romano
parent 8959476941
commit 0b246b8211
362 changed files with 2684 additions and 13104 deletions

View File

@@ -26,19 +26,16 @@ declare let componentHandler: any;
@Component({
selector: 'ng2-alfresco-userinfo',
moduleId: module.id,
styleUrls: ['./user-info.component.css'],
templateUrl: './user-info.component.html'
})
export class UserInfoComponent implements OnInit {
private baseComponentPath = module.id.replace('components/user-info.component.js', '');
@Input()
ecmBackgroundImage: string = require('../assets/images/ecm-background.png');
@Input()
ecmBackgroundImage: string = this.baseComponentPath + 'assets/images/ecm-background.png';
@Input()
bpmBackgroundImage: string = this.baseComponentPath + 'assets/images/bpm-background.png';
bpmBackgroundImage: string = require('../assets/images/bpm-background.png');
@Input()
menuOpenType: string = 'right';
@@ -48,7 +45,7 @@ export class UserInfoComponent implements OnInit {
ecmUser: EcmUserModel;
bpmUser: BpmUserModel;
anonymousImageUrl: string = this.baseComponentPath + 'assets/images/anonymous.gif';
anonymousImageUrl: string = require('../assets/images/anonymous.gif');
bpmUserImage: any;
ecmUserImage: any;