Browserify plugin that replaces the default packing method with a JSON packing method. The result is a browserify bundle in JSON format.
This plugin is part of the browserify-diff toolchain (you probably don't want to use this module directly).
Example
Input:
Output (pretty-printed):
Usage
var browserify = ;var bundler = ; //ExposeAll is required ;
Methods
var bundler = require('browserify-json-bundler');
bundler(b, opts)
Bundles the package according to the example above.
parameters
b
A browserify instance[opts.version]
An optional version number or hash that will be added to the root of the json output.