Webpack says it’s zero-config but that is only partly true. It’s zero-config if you don’t need any features at all. But if want to do anything non-trivial like, you know... creating an app that supports ES6 and styles then you are back to config hell.
Loaders, plugins, rules, modules, resolve. What is what? And don’t get me started if you want code splitting and hot module reloading. And babel is supposed to be in there somehow.
You do your best to set up the config by copy-pasting boilerplates, reading tutorials that might or might not be outdated, and reading the official docs which only partly answers the questions you have.
When you finally have managed to put together a webpack config that actually seems to work you don’t dare to touch it in case you break everything. Your webpack project is like a digital version of a house of cards (not the tv-series but you know... real cards)
You are terrified when you change the code splitting setup or adding typescript - because everything might suddenly just fall apart.
Creating and maintaining frontend projects shouldn’t be this hard.
You know webpack gets stuff done efficiently, but how many weeks or months do you have to spend to learn it properly?
There is a reason that almost all major toolkits like Gatsby and Nextjs use webpack under-the-hood. There is a reason that webpack is so popular in enterprise applications, and large full stack and frontend apps.
The reason is that webpack is super powerful. It’s ugly but it gets the job done better than any other tool. No build tool has the position that webpack has in the community - the user base is insanely big. It’s the industry standard whether you like it or not.
Knowing webpack is one thing that will make you stand out from other frontend devs. Most devs have enough troubles to learn CSS grids layouts and ES6 features. Not everyone takes the time to learn webpack. If webpack was part of a Microsoft certification program (thank god it’s not) then this would be part of the Gold platinum certification.
Webpack is tough to learn. You’ll have to do the work. But with the right learning resource you can be a confident webpack coder already next week.
In "Learn webpack", you'll start with a clean slate - just you and an empty text editor. You will learn step-by-step how to build the
.babelrc and all other files required to build a modern web apps with webpack. This approach makes webpack super easy to learn - even if you don’t have much dev experience.
This is a complete and up-to-date book for webpack beginners. It covers the latest stable version of webpack which is version 4.
This book is a handbook for creating enterprise-ready production apps with webpack. These are the main topics covered:
The book is made up of three parts:
Part 1: The Getting started tutorial You'll jump straight into coding your first React app with webpack. You start from scratch and you will finish up with a complete webpack project that you can put in production. This tutorial is designed to get you up and running quickly.
Part 2: Production-ready apps with webpack You’ll learn how to configure an awesome developer experience that makes you super productive and use tools and techniques to get the lowest possible bundle size for the production build. You’ll also learn about the internals of webpacks. Loaders, plugins, manifests and chunks will no longer feel like magic
Part 3: Recipes Even the webpack pros have to look up how to configure specific things like Vue, React, Typescript, etc. In this part of the book, you will have recipes that you can use to create the app you want to create - so you don't have read long and outdated medium-articles to get the code you need.
Zero fluff guaranteed
This is a short book - only 100 pages. It's to the point. And it has absolutely zero fluff - just actionable advice.
As a developer, the best investment you can make is to invest in your skills. When you know webpack you will be a more complete frontend dev. It will set you up for getting promotions.
And if you're looking for a job, talking fluently in interviews about how to use code splitting and tree shaking with webpack will make you stand out from other frontend devs.
|Format:||PDF and EPUB|
It's time for you to take back control of your webpack config!
Q: What if I don't like the book?
A: I offer a 30-day no-questions-asked money-back-guarantee
Q: What version of webpack do the book use?
A: It's written for the latest version of webpack: webpack 4.
Q: But soon there will be a new version of webpack and this book will be outdated?
A: Included in the price is a lifetime of updates! Whenever I update the book because there is a new version of webpack or if i extend the book with new material, you will get the update straight in your inbox with no additional cost.
Q: What formats do I get?
A: You'll get PDF and EPUB. If I some time in the future offer more formats, you will get them also of course.
Q: How many pages is it?
A: 100 pages. It's short and sweet so that you'll actually read it.