README
pilfer
pilfer is a simple module bundler with an easy to use API with ES6 (and Babel) support. With the built-in watch mode rebuilds are ultra fast.
Install
npm install -g pilfer
Usage
For most projects you can simply run:
pilfer
In your project's folder. This will pipe results to stdout which you can then pipe into Uglify or do whatever else you need. If you'd like to have pilfer write to a file do:
pilfer -o out.js
Instead.
When developing use the --watch
flag to enable watch mode:
pilfer -w
This will automatically write to out.js
(you can still provide a different file with -o
of course) whenever a file in your project changes.