Webpack is a powerful bundling tool made popular particularly by the success of Facebook's React. Webpack, a bundler, takes in assets and then transforms them into a form suitable for the browser. It happens to do this well. It isn't the easiest tool to learn due to its configuration driven approach, but despite this it's worth studying. By reading this book you will learn to:

Set up a Webpack based development and production environment. You can find the configuration online as well.

Understand Webpack's Hot Module Replacement (HMR) and how to configure it in various ways.

Learn to deal with styling with Webpack. This includes hashing and extracting styles to separate files.

Load different types of assets and even implement loaders of your own in a test driven manner.

Learn to load dependencies dynamically while your application or site is running.

Learn to configure React specific setup in an effective manner.

The book assumes you know basics of JavaScript and understand how to use npm.

The book contents are freely available online. By purchasing this book you support its development. A part (~30%) of the profit goes to Tobias Koppers, the author of Webpack. This helps him to develop the tool further. See Book Homepage for the details.

About the Authors

Juho Vepsalainen has been dealing with the web one way or another since the 90s. All hail marquee! I've seen the rise of web and JavaScript in particular. Besides React I have extensive experience in Angular, jQuery and various smaller libraries