Webpack for Beginners: Your Step-by-Step Guide to Learning Webpack 4

  • 1h 32m
  • Abhilasha Sinha
  • Apress
  • 2020

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.

What You Will Learn

  • 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

Who This Book Is For

This book is conceived for beginners and newcomers to Webpack, and assumes you have some very basic knowledge in JavaScript, HTML and working on the command line. This step-by-step guide will help you understand and clarify everything you need to know to bundle your JavaScript hassle-free.

About the Author

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.

In this Book

  • Webpack: First Steps
  • Write Modular Code
  • Loaders and Plugins
  • Cache
  • Resolving Folders
  • Webpack DevServer
  • Installing Third-Party Libraries
  • Conclusion