Webpack for Beginners

Your Step-by-Step Guide to Learning Webpack 4

  • Mohamed Bouzid

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

  • Mohamed Bouzid
    • 1
  1. 1.NAMorocco

Bibliographic information

Industry Sectors
Finance, Business & Banking
IT & Software