import { log , Message } from '../logger' ; const chalk = require ( 'chalk' ) ; function buildStatsMessage ( message ) { const msg = { message : `       ${ message }` } ; return msg ; } export function analyzeStats ( stats ) { log ( buildStatsMessage ( `Build duration: ${ chalk . green ( ( stats . endTime - stats . startTime ) / 1000 ) }` ) ) ; }