Abstract
Loaders and plugins are the heart of webpack. They make up the engine that empowers webpack to do the “magical” things for you, like reading and transforming files before passing them to webpack or influencing the output of your bundle by extending the compiler capability, etc. In this chapter, we will be exploring some of the most commonly used loaders and plugins. We will go through examples of how to transpile files from one format to another. We will see how to debug our JavaScript efficiently and how to handle images and optimize them as well as our bundle for fast loading. By the end of this chapter, you will have the necessary understanding of how to use both loaders and plugins in the simplest possible way.
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
© 2020 Mohamed Bouzid
About this chapter
Cite this chapter
Bouzid, M. (2020). Loaders and Plugins. In: Webpack for Beginners. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5896-5_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5896-5_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5895-8
Online ISBN: 978-1-4842-5896-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books