From apprentice to master

"SurviveJS - Webpack" has been built around a tutorial during which you develop a complex configuration while covering different facets of webpack. The 45 short chapters and seven appendices work as a reference you can use while developing your web applications. Also available as a paperback.

Even though the book has been designed around webpack, many of the techniques covered go beyond it. You will learn to improve the quality of your code while becoming aware of optimization techniques that help you to deliver more performant web applications.

The book was developed in collaboration with the webpack community, and its structure has evolved accordingly. A third of royalties go to Tobias Koppers, the author of the tool. The writer is a core developer of webpack so by purchasing this book you will support the effort in multiple ways.

The content has been split as below:

Foreword by Tobias Koppers, the author of webpack

Preface by Juho Vepsäläinen, the author of the book and a core developer of webpack

What is Webpack? - Learn what makes webpack tick

Developing - Set up a development environment on top of webpack

Styling - Load and manage styles while learning about topics like autoprefixing and eliminating unused CSS

Loading Assets - Load different asset types and process them

Building - Write initial build with webpack and learn techniques like bundle and code splitting

Optimizing - Learn to optimize the build results by minifying, tree shaking, and other techniques

Appendices - Learn how webpack compares with other tools, how to set up Hot Module Replacement, troubleshoot webpack

The Leanpub edition comes with a two page PDF cheatsheet that covers the main ideas of webpack in a compact format. It's also available in poster form (single A3, either portrait or landscape). You also get a ~20 page QA PDF where Tobias Koppers, the creator of the tool answers to tough questions.

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.