import { Aurelia } from 'aurelia-framework' ; import environment from './environment' ; ( < any > Promise ) . config ( { warnings : { wForgottenReturn : false } } ) ; export function configure ( aurelia ) { aurelia . use . standardConfiguration ( ) . feature ( 'resources' ) ; if ( environment . debug ) { aurelia . use . developmentLogging ( ) ; } if ( environment . testing ) { aurelia . use . plugin ( 'aurelia-testing' ) ; } aurelia . start ( ) . then ( ( ) => aurelia . setRoot ( ) ) ; }