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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Sufyan bin Uzayr, Nicholas Cloud, Tim Ambler
About this chapter
Cite this chapter
bin Uzayr, S., Cloud, N., Ambler, T. (2019). Browserify. In: JavaScript Frameworks for Modern Web Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4995-6_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4995-6_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4994-9
Online ISBN: 978-1-4842-4995-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books