globar

Run browserify, watchify, browserify-incremental with globs

Usage no npm install needed!

<script type="module">
  import globar from 'https://cdn.skypack.dev/globar';
</script>

README

Globar

Run browserify and watchify and browserify-incremental with globs.

A process exit code is browserify(or watchify, browserify-incremental) exit code.

npm version

Install

With npm do:

npm install -g globar browserify watchify browserify-incremental

Usage

globar <entry files glob>  [options]

Options:

  <entry files glob>

    Glob pattern of entry files.

  --outfile=FILE, -o FILE

    Output file or directroy.

  --watch, -w

    Call watchify instead of browserify.
  
  --incremental, -inc
  
    Call browserify-incremental instead of browserify.
    
  --max-proc, -m
  
    Set maximum number of processes.

Contribution

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

License

MIT