USAGE gluejs --include {OPTIONS} BASIC --include Path to import. --exclude JS regular expression string to match against the included paths. --out File to write. Default: stdout --global Name of the global to export. Default: "App" --basepath Base path for the list of files. Default: process.cwd() --main Name of the main file/module to export. Default: index.js REPLACE / REMAP --replace Bind require("name") to an expression. e.g. --replace jQuery=window.$ --remap Remap require("name") to another (internal) module e.g. --replace "assert=require('chai').assert" BUILD OPTIONS --source-url Add source URL annotations to the files. Useful for development, but note that this is not compatible with IE. --global-require Export the require() implementation into the global space. --amd Export the module via the require.js AMD define("name", ...) using the name specified in --global. Note that the requirejs will not pick up modules defined like this unless you do at least one asynchronous require() call. MINIFICATION / SOURCE TRANSFORMS --command Pipe each file through a shell command and capture the output (e.g. --command "uglifyjs --no-copyright"). --transform Activates a source transformation module. PERFORMANCE --cache-path

Use a cache directory to store file builds. The cache speeds up large builds (and minified builds) significantly since only source files that have changed are updated. --jobs Sets the maximum level of parallelism for the task execution pipeline. Default: `os.cpus().length * 2` --cache-method Sets the cache method: stat | hash algorithm name. REPORTING --report Display the file size report. --silent Disable all output, including the reporter. --verbose More verbose output. --version Version info ADVANCED --reset-exclude Advanced: do not apply the default exclusions (/dist/, /example/, /benchmark/, .min.js).