Course Information
Course Overview
Optimize your Webpack 5 configuration for Production with Code Splitting, Lazy Loading, Gzip compression etc.
Hi guys and girls, nice to see you here :) This is my 2nd course about Webpack, and this time my goal is to help you understand how you can optimize your Webpack configurations for production use cases. In this course we are going to focus on how to make your Webpack bundles as small as possible, and how to make your application loading times as fast as possible.
This course is specifically designed for those people who already know some Webpack basics, and want to become experts in creating optimized Webpack configurations from scratch as well as improving existing Webpack configurations.
In this course we are going to take an existing web application that's not using any kind of module bundlers, and apply various Webpack features in order to optimize this application and improve its loading performance. This means you will see how Webpack works in real world use cases. Each lesson builds on top of the previous ones, so it’s very easy to follow.
Here are just a few examples of what we are going to talk about.
In one of the sections, I will show you 7 different approaches of handling CSS in your applications, including CSS Modules and a couple of CSS-in-JS libraries. As a result, you will become familiar with many approaches and you will be able to choose the most suitable one for your specific needs.
In another section, we are going to have a long discussion about Code Splitting and Lazy Loading. Webpack is extremely good at Code Splitting, and we are going to talk about that a lot in this course. I will show you multiple Code Splitting strategies you can apply, and we will even define our own strategy applicable to the application we are developing in this course. After watching this course you won't ever be frustrated when you hear the words "Code Splitting" again.
Also, we are going to cover topics related to Optimizing Images for Production, Tree Shaking, Compression algorithms, and many more! After watching this course you will definitely have some ideas on how to improve performance of your existing web applications. I can also promise that you will know more about Webpack than the average Front End Developer in your company.
I am regularly updating this course, so you can be sure that this course is always up-to-date and covers the latest Webpack features.
If you have any questions related to Webpack, feel free to post them in Q&A section. Many people have already found answers to their questions in Q&A, and I will be more than happy to help you with your questions as well.
Course Content
- 10 section(s)
- 61 lecture(s)
- Section 1 Introduction
- Section 2 Setting Up Webpack
- Section 3 7 Ways Of Using CSS With Webpack
- Section 4 Processing Images With Webpack
- Section 5 Increasing Browser Support With Babel
- Section 6 Improving Your Developer Experience With Source Maps
- Section 7 Tree Shaking
- Section 8 Applying Code Splitting and Lazy Loading To Your Production Code
- Section 9 Creating Your Own Web Server
- Section 10 Compressing Your Production Code Before Sending It To Your Customers
What You’ll Learn
- Quickly get started, without long introductions and rambling
- Optimize your Webpack builds for Production in order to make them as small and efficient as possible
- Optimize your application loading times to make them as fast as possible
- Get familiar with 7 ways of handling CSS in your apps (including CSS-in-JS and CSS Modules)
- Learn everything you need to know about Code Splitting and Lazy Loading
- Optimize your CSS and Images for Production
- Configure Gzip compression and Brotli compression
- Set up Babel the right way
- Add Source Maps both for JavaScript and CSS
- Configure TypeScript with Webpack
- Optimize your Developer Experience by enabling Hot Module Replacement, better Error Handling, etc
Reviews
-
OObinna Achara
Very well laid out and comprehensive course. This really was the definitive guide i needed for Webpack to set out the various strategies i can use to optimise my generated bundles. Highly recommended!
-
RRoofi Ahmad Sidiq
cool course, now I know a lot about webpack and more confident if someone talk about it haha
-
TTony Nguyen
Your WEBPACK course was amazing! I’m really looking forward to your next ones.
-
AAditya agarwal
The course is amazing! Learnt a lot of new things. The way I see this course is not just cramming how to do different configuration for our bundle but as a course that shows the different ways and techniques to optimise the bundle, after all the configuration anybody can search via AI tools or Web but knowing what configuration to do in a certain situation matters. One thing I did not like in this course is for some things the instructor does not explain deeply of why he wrote certain code, if each and every line could have been explained thorougly then it would have been a 5 star but no worries still a 4.5 star for sure.