Abstract
Browserify is a JavaScript module loader that works around the language’s current lack of support for importing modules within the browser by serving as a “pre-processor” for your code. In much the same way that CSS extensions such as SASS and LESS have brought enhanced syntax support to stylesheets, Browserify enhances client-side JavaScript applications by recursively scanning their source code for calls to a global require() function. When Browserify finds such calls, it immediately loads the referenced modules (using the same require() function that is available within Node.js) and combines them into a single, minified file—a “bundle”—that can then be loaded within the browser.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Tim Ambler and Nicholas Cloud
About this chapter
Cite this chapter
Ambler, T., Cloud, N. (2015). Browserify. In: JavaScript Frameworks for Modern Web Dev. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0662-1_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0662-1_6
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0663-8
Online ISBN: 978-1-4842-0662-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books