0.0.5 • Published 9 years ago

pack-js v0.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

#packjs

packing javascript file to one file.

##Install

Use npm

sudo npm install -g pack-js

##Usage

  1. Write include file path (relative) in each heads of javascript files.
console.log('foo');
// @include ./module.js
console.log('bar');
  1. Run command.
$ packjs sourcefile.js destination.js
  1. Output like this.
console.log('foo');
function someModule(){};
console.log('bar');
  1. If you run with -w option, then command run as watching mode and everytime you update file, do packing automaticaly.
$ packjs sourcefile.js destination.js -w
0.0.5

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago