Pretty logger for Start.
- colors
- decamelized task names
- short relative paths
- clean stack traces
npm i -S start-pretty-logger
import start from 'start';
import logger from 'start-pretty-logger';
import files from 'start-files';
import clean from 'start-clean';
import babel from 'start-babel';
import write from 'start-write';
export function build() {
return start(logger())(
files('build/'),
clean(),
files('lib/**/*.js'),
babel(),
write('build/')
);
}
See documentation for details.
logger(options)
-
options
– logger options,{ mute: [] }
by default-
mute
– array of task names to mute any output
-