ack-webpack
Version:
A code bundler that drastically reduces setup time by offering an init prompt of project setup questions and includes a fantastic browser reloader.
17 lines (15 loc) • 507 B
JavaScript
module.exports = function(){
const args = Array.prototype.slice.call(arguments)
args.unshift('\x1b[36m[ack-webpack]\x1b[0m')
console.log.apply(console,args)
}
module.exports.error = function(){
const args = Array.prototype.slice.call(arguments)
args.unshift('\x1b[31m[ack-webpack]\x1b[0m')
console.log.apply(console,args)
}
module.exports.warn = function(){
const args = Array.prototype.slice.call(arguments)
args.unshift('\x1b[33m[ack-webpack]\x1b[0m')
console.log.apply(console,args)
}