0.2.1 • Published 6 years ago

pack.re-bin v0.2.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Pack.re - a simple js bundler for reason

Pack javascript files together. No frills.

Definitely alpha quality at the moment. But it works :D so far

# pack.re - a simple js bundler for reason

Usage: pack.re [options] entry-file.js > bundle.js

  --base (default: current directory)
      expected to contain node_modules
  --rename newName=realName (can be defined multiple times)
      maps `require("newName")` to a node_module called "realName"
  -h, --help
      print this help

Global usage, if you want

npm i -g pack.re
pack.re --help

Local usage

npm i pack.re

then add something to your package.json scripts, like "pack.re lib/js/src/main.js"

License

MIT