Browserify a list of libraries from node_modules into a single
    javascript file. Generates source maps in debug mode. Minifies the
    output in release mode.

    Note you may also specify the relative path to the module
    as ``./path/to/module`` or ``./path/to/module/file.js``.

def browserify_node_modules(module_name_list, output_file, babelify=False):
    """
    Browserify a list of libraries from node_modules into a single
    javascript file. Generates source maps in debug mode. Minifies the
    output in release mode.

    Note you may also specify the relative path to the module
    as ``./path/to/module`` or ``./path/to/module/file.js``.
    """
    from .modules import browserify

    if not isinstance(module_name_list, (list, tuple)):
        raise RuntimeError('Browserify Node Modules compiler takes a list of node module names as input.')

    return {
        'dependencies_fn': browserify.browserify_deps_node_modules,
        'compiler_fn': browserify.browserify_compile_node_modules,
        'input': module_name_list,
        'output': output_file,
        'kwargs': {
            'babelify': babelify,
        },
    }