Sha256: b55b3af68892c8f9157d27041bb3d40f81f4b834131aa947155ec5f4fcd99a68
Contents?: true
Size: 580 Bytes
Versions: 142
Compression:
Stored size: 580 Bytes
Contents
/* bundleLogger ------------ Provides gulp style logs to the bundle method in browserify.js */ var gutil = require('gulp-util'); var prettyHrtime = require('pretty-hrtime'); var startTime; module.exports = { start: function(filepath) { startTime = process.hrtime(); gutil.log('Bundling', gutil.colors.green(filepath) + '...'); }, end: function(filepath) { var taskTime = process.hrtime(startTime); var prettyTime = prettyHrtime(taskTime); gutil.log('Bundled', gutil.colors.green(filepath), 'in', gutil.colors.magenta(prettyTime)); } };
Version data entries
142 entries across 44 versions & 1 rubygems