scripts: enhance logs

This commit is contained in:
jean-emmanuel 2018-10-30 06:26:36 +01:00
parent 9b51e4fe2b
commit 6707dedb71
2 changed files with 7 additions and 2 deletions

View file

@ -25,7 +25,7 @@ var transforms = [
]
if (prod) {
console.warn('\x1b[36m%s\x1b[0m', '=> Building minified client bundle, this may take a while...')
console.warn('\033[36m=> Building minified client bundle, this may take a while...\033[0m')
transforms.push([transformWrapper(require('uglifyify')), {global: true}])
}