© 2020

Webpack for Beginners

Your Step-by-Step Guide to Learning Webpack 4


  • Completely up-to-date for Webpack 4 with code you can use in your own projects

  • Suitable for complete beginners: will move you from zero knowledge to a Webpack hero

  • Written by a Webpack developer who has struggled with the documentation and wrote this book to help anyone in the same situation


Table of contents

  1. Front Matter
    Pages i-xvi
  2. Mohamed Bouzid
    Pages 1-10
  3. Mohamed Bouzid
    Pages 11-20
  4. Mohamed Bouzid
    Pages 21-51
  5. Mohamed Bouzid
    Pages 53-68
  6. Mohamed Bouzid
    Pages 69-77
  7. Mohamed Bouzid
    Pages 79-95
  8. Mohamed Bouzid
    Pages 97-124
  9. Mohamed Bouzid
    Pages 125-125
  10. Back Matter
    Pages 127-129

About this book


Learn how to use Webpack from installation to configuration without the hassle of complex examples. Webpack has become one of the most popular module bundlers in recent years; it’s widely used by developers, companies, and organizations of all sizes, and many web frameworks use it for the management of their assets. If you are serious about web development these days then you must learn and understand Webpack.

You will begin by installing and configuring Webpack, and learn how to write modular code. You’ll then move onto understanding the usage of loaders and plugins with practical use cases, how to make aliases and resolve folders, cache busting, and installing third-party libraries such as jQuery, Bootstrap, QuillJS, and more. By the end of this book you will feel confident and ready to start using Webpack in your projects.

Free from complex examples and intended to be as easy-to-follow as possible, this book is ideal for anyone who knows basic HTML, JavaScript, and how to work on the command line. Upgrade your developer skillset using Webpack for Beginners today.

You will: 

  • Install and configure Webpack beyond the default settings
  • Efficiently work with plugins and loaders
  • Optimize Webpack for production
  • Use instant refreshing with the Webpack dev server and hot module replacement
  • Explore how to install some common JavaScript libraries


webpack javascript modular code CSS Sass javascript plugins beginner web dev

Authors and affiliations

  1. 1.NAMorocco

About the authors

Mohamed Bouzid has over 11 years' experience in technology and web development. From humble beginnings as a global freelancer, he has transitioned to the entrepreneurial world making products that people love and use every day. When not coding he can be found at the gym or at the coffee shop where he talks with friends about life, startups, and tech. 

Bibliographic information

Industry Sectors
IT & Software
Finance, Business & Banking