substack/node-browserify — pull request #910 by hughsk (2014-09-19 11:54:33+00:00)
Title: Pass "flags" option to each transform

Essentially, `flags` is set to the value of the bundler's `_options` property.

This should enable more intelligent transform behaviours, for example toggling source maps when `--debug` is supplied through the CLI or module API.

* Closes substack/node-browserify#844
* Fixes hughsk/uglifyify#16
* Fixes hughsk/uglifyify#18

Thanks!