Skip to main content

Webpack 4: Beyond the Basics

5h 26m 56s
English
Paid

Welcome to the Web Hacker's Cookbook! This course will guide you through building modern JavaScript applications using the Webpack module loader and asset bundler. Designed for those who have explored Webpack basics but seek a deeper understanding, this course ensures every moment is valuable with well-rehearsed and edited lessons tailored for all skill levels.

Course Overview

Tackle real-world projects as we build practical Webpack apps from scratch. We will begin with the ideal Webpack development setup, focusing on creating a Markdown blog similar to Ghost. This includes Hot Module Reloading, Babel, and Node debugging. Then, we'll explore Webpack's production optimization features, transforming our boilerplate into a functional portfolio website.

The Final Project

The ultimate challenge is extending our portfolio site into a multi-domain node application that mimics WordPress MU, Tumblr, or SquareSpace, all managed from a single node server. We'll dive deep into Webpack 4's latest features, covering Server-side Rendering, dynamic imports with "magic comments," Universal React components, and CSS Chunks in Parallel. This end-to-end journey promises to be both educational and rewarding.

Frameworks and Integrations

This course will also cover the various frameworks and libraries integrated with Webpack. Whether you're enhancing a legacy Rails project or crafting new designs using EJS, Pug, Handlebars, Sass, Less, Stylus, CSS Modules, Angular, or Vue JS, you'll gain the tools to build your site exactly as desired.

Requirements

  • You should have some initial training or experience with coding and software installation.
  • A strong desire to delve quickly into the intricacies of libraries and frameworks is essential.
  • An understanding of the command line, a code editor, and readiness to follow along are required.

Target Audience

Who this course is for:

  • Individuals seeking in-depth, visual, code-driven guidance beyond the standard Webpack setup.
  • Those interested in exploring real-world Webpack challenges and unusual cases not covered elsewhere.
  • Anyone eager to deepen their knowledge of modern JavaScript development beyond their peers.

Learning Outcomes

What you'll learn:

  • Create a custom Hot-reloading Webpack boilerplate from scratch.
  • Optimize frontend assets for efficient, compact production code.
  • Build a portfolio or blog platform utilizing Markdown for content creation.
  • Engage in deep explorations of Webpack Plugins and Loaders.
  • Achieve seamless Server-side Rendering with parallel Code Splitting in Webpack.
  • Understand the internal mechanics of Webpack, Babel, Node, and various JavaScript libraries.
  • Develop a multi-domain application akin to SquareSpace, WordPress MU, or Tumblr.
  • Utilize Chrome DevTools for code debugging, inspection, and performance auditing.
  • Secure online applications with SSL and deploy to Heroku for cloud hosting.

About the Author: udemy

udemy thumbnail
By connecting students all over the world to the best instructors, Udemy is helping individuals reach their goals and pursue their dreams. Udemy is the leading global marketplace for teaching and learning, connecting millions of students to the skills they need to succeed. Udemy helps organizations of all kinds prepare for the ever-evolving future of work. Our curated collection of top-rated business and technical courses gives companies, governments, and nonprofits the power to develop in-house expertise and satisfy employees’ hunger for learning and development.

Watch Online 40 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 40 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: How to get help with this Course
All Course Lessons (40)
#Lesson TitleDurationAccess
1
How to get help with this Course Demo
01:10
2
Additional Course Materials and Code
01:36
3
Up and Running with Webpack Dev Server
07:38
4
Our First Loaders for CSS
05:24
5
Better Errors and Loaders for HTML & Images
10:41
6
Babel Basics
04:11
7
Babel Polyfills, Transforms & Presets
07:55
8
DIY Webpack Dev Server with Express Middleware
09:57
9
Hot Reloading Both Client and Server
05:45
10
Debugging Node with Chrome DevTools
05:29
11
Hooking Up React
06:51
12
Hooking up React - Part 2: Stateful Reloading
09:40
13
Hooking up HTML Preprocessors like EJS/Pug/Handlebars
08:09
14
Hooking up CSS Preprocessors like SASS/LESS & Stylus
11:34
15
Hooking up Typescript 2
06:42
16
Hooking up Angular 5
13:36
17
Setup Production Hosting with Heroku
09:39
18
Production Ready CSS
07:03
19
Optimizing Javascript with Environment Variables
07:22
20
Optimizing Javascript with Minification and Mangling
07:16
21
Optimizing All Assets with GZip and Brotili Compression
07:33
22
Building out the Blog with React
06:06
23
Parsing Markdown for Blogging and Meta Data
08:11
24
SplitChunks and the Bundle Analyzer
06:42
25
Server-side Render JS with Express and React
09:19
26
Server-side Render any Filetype with Webpack
07:22
27
Unified Compilation - Part 1
07:45
28
Unified Compilation - Part 2
09:38
29
Adding Multiple Pages with React Router
11:05
30
Dynamic Import Syntax
03:58
31
React Universal Components
09:55
32
Async JS/CSS Chunk Loading in Parallel (aka the Holy Grail)
11:18
33
2 Strategies for Multiple-Domains in Development
08:28
34
Scoping Your Data per Domain
10:40
35
Theming CSS per Domain
07:28
36
Build out the Articles Pages for our 2 Heroes
16:21
37
Redux Basics: The store, the reducer and the action.
10:53
38
Fetching Articles from an API with Redux Thunk
12:01
39
Webpack 4 Upgrade Guide
13:31
40
What do you want to see next?
01:04
Unlock unlimited learning

Get instant access to all 39 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription