abrowserify
Bundle with browserify only when file changed from last time
Last updated 4 months ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install abrowserify 
SYNC missed versions from official npm registry.

abrowserify

Build Status npm Version JS Standard

Bundle with browserify only when file changed from last time

Installation

$ npm install abrowserify --save

Usage

'use strict'

const abrowserify = require('abrowserify')
const co = require('co')

co(function * () {
  yield abrowserify('src/entrypoint.js', 'public/bundle.js', {
    debug: true
  })
}).catch((err) => console.error(err))

Signature

abrowserify(src, dest, options) -> Promise

Params

Name Type Description
src string Source file name
dest string Destination file name
options Object Optional settings
options.status string Status file path
options.cache string Cache file path
options.reflects string[] File patterns to reflects changes

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 29
Last Day 0
Last Week 0
Last Month 29
Dependencies (10)
Dev Dependencies (11)

Copyright 2014 - 2017 © taobao.org |