Sha256: 59f4af9a1415b39da995317bd93b066ecf4ce680e0ed00ae4de0e3b75acc5eac
Contents?: true
Size: 667 Bytes
Versions: 8
Compression:
Stored size: 667 Bytes
Contents
### bundleLogger Provides gulp style logs to the bundle method in browserify.js ### gutil = require 'gulp-util' prettyHrtime = require 'pretty-hrtime' startTime = undefined module.exports = start: (filepath) -> startTime = process.hrtime() gutil.log 'Bundling', gutil.colors.green(filepath) + '...' watch: (bundleName) -> gutil.log 'Watching files required by', gutil.colors.yellow(bundleName) end: (filepath) -> taskTime = process.hrtime(startTime) prettyTime = prettyHrtime(taskTime) gutil.log 'Bundled', gutil.colors.green(filepath), 'in', gutil.colors.magenta(prettyTime)
Version data entries
8 entries across 8 versions & 1 rubygems