def browserify_file(entry_point, output_file, babelify=False, export_as=None):
from .modules import browserify<EOL>if not isinstance(entry_point, str):<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>return {<EOL>'<STR_LIT>': browserify.browserify_deps_file,<EOL>'<STR_LIT>': browserify.browserify_compile_file,<EOL>'<STR_LIT:input>': entry_point,<EOL>'<STR_LIT>': output_file,<EOL>'<STR_LIT>': {<EOL>'<STR_LIT>': babelify,<EOL>'<STR_LIT>': export_as,<EOL>},<EOL>}<EOL>
Browserify a single javascript entry point plus non-external
dependencies into a single javascript file. Generates source maps
in debug mode. Minifies the output in release mode.

By default, it is not possible to ``require()`` any exports from the entry
point or included files. If ``export_as`` is specified, any module exports
in the specified entry point are exposed for ``require()`` with the
name specified by ``export_as``.