Webpack 4 in 2019: The Complete Tutorial For Beginners

Webpack 4 in 2019: The Complete Tutorial For Beginners

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 3 Hours | 1.50 GB

Learn Webpack 4 from the very basics to advanced! Use Webpack with JS, CSS, npm, Babel, Node

My main goal is to help you understand and master Webpack, particularly its latest version Webpack 4. This course was specifically designed for those who want to learn Webpack from scratch, and for those who are already working with Webpack, but don’t fully understand how it works.

In this course we will build fully functional, production ready Webpack configuration from scratch. We will start from the very simple things and then gradually move towards more advanced topics. Each lesson builds on top of the previous ones, so it is easy to follow.

After this course you will definitely be able to use Webpack in your projects. You will be able to create your own Webpack configurations and improve existing ones. We will also cover using npm and Babel in this course in order to use the latest JS technologies. If you worked on a project with Webpack, but never touched the configuration, after this course you will be able to touch it, and even improve it

I am constantly updating this course, so you can always be sure that it is up-to-date and covers the latest features of Webpack.

If you have any questions regarding Webpack, feel free to post them in the Q&A section. Many people have already found answers to their questions there, and I will do my best to help you with your questions as well.

Most React and Angular boilerplates come with Webpack included, and most people are afraid to touch its default configuration. I strongly believe that you should not be scared of it. You should master it!

What you’ll learn

  • Quickly get started, without long introductions and rambling.
  • Create fully functional, production ready Webpack config from scratch.
  • Get a solid understanding how Webpack really works and when to use it.
  • Optimize your Webpack production builds to be small and fast.
  • Optimize your development experience by enabling Hot Module Replacement, better Error Handling, etc.
  • Deep dive into Webpack loaders and plugins.
  • Use latest cutting edge JS features with Webpack 4, Babel 7, and npm.
  • Organize your code better with EcmaScript 2015 modules and Webpack Code Splitting.
  • Being able to understand and improve existing Webpack config.
  • Integrate Webpack with Node JS and Express framework.
  • Using Webpack for Single Page Applications as well as Multiple Page Applications.
  • Get a solid foundation for learning advanced Webpack features.
  • Import CSS into your JS files using Webpack.
Table of Contents

Introduction
1 Introduction
2 What you need for this course

Initial Setup and Integrating Webpack
3 Why Do We Need Webpack
4 Setting Up Our Application
5 Install Webpack And Integrate It With NPM
6 Integrating Webpack Into Our JS Application

Loaders
7 What Is Webpack Loader?
8 Handling Images With Webpack
9 Handling Images With Webpack. How To Use publicPath
10 Handling CSS With Webpack
11 Handling SASS
12 Using Latest JavaScript Features With Babel 7

Plugins
13 What Is Webpack Plugin?
14 Minification Of The Resulting Webpack Bundle
15 Extracting CSS Into a Separate Bundle With mini-css-extract-plugin, Part 1
16 Extracting CSS Into a Separate Bundle, Part 2
17 Browser Caching
18 How To Clean Dist Folder Before Generating New Bundles
19 Generating HTML Files Automatically During Webpack Build Process
20 Customizing Generated HTML Files
21 Integration with Handlebars
22 More Webpack Plugins

Production vs Development Builds
23 Introduction
24 Mode
25 Managing Webpack Config for Production and Development Use Cases
26 Faster Development with webpack dev server
27 Cleaning Up A Bit

Multiple Page Applications
28 Introduction
29 Creating KiwiImage Component
30 Code Splitting in Webpack: Multiple JS and CSS Bundles
31 How To Generate Multiple HTML Files
32 Extracting Common Dependencies While Code Splitting
33 Setting Custom Options for Code Splitting
34 How To Setup Development Environment For Multiple Page Application

Webpack Integration With Node And Express
35 Introduction
36 Getting Code for Single Page Application
37 Integrating Express Into Our Application
38 Serving HTML Pages via Express
39 Handling JS and CSS via Express
40 Getting Code for Multiple Page Application
41 Integrating Express.js Into A Multiple Page Application

Integration with jQuery
42 Getting the Source Code
43 Integration with jQuery

Integration with Bootstrap
44 Using Bootstrap with Webpack
45 2nd Method Of Importing CSS From Bootstrap

Using FontAwesome with Webpack
46 Using FontAwesome with Webpack

Using ESLint
47 Configuring ESLint

Github Repository
48 How To Use Github Repository

Summary
49 Summary
50 Bonus Lecture: Other Courses with Discounts