Webpack 4 Fundamentals
Course on Master.dev by Sean Larkin
- 4 h 10 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 37
- Lessons
- Jun 2018
- Published29 Jun 2018
About this course
Learn the core concepts of Webpack 4 with Sean Larkin – maintainer of Webpack. You'll start entirely from scratch by adding webpack with npm and separate your dev and production environments. Then you'll learn to lazy load your JavaScript through code splitting, remove code you don't need through tree shaking, and control your entire build pipeline with popular loaders and plugins from the Webpack ecosystem. Be confident in building and shipping your code with Webpack – the open source bundler responsible for powering some of the most popular and high-performance web applications!
What it covers
- 01
Why Webpack
- Introduction
- Problems with Script Loading
- History of Modules
- EcmaScript Modules (ESM)
- Introducing Webpack
- Configuring Webpack
- 02
Webpack from Scratch
- Using Webpack for the First Time
- Adding npm Scripts for Environment Builds
- Setting Up Debugging
- Coding Your First Module
- Adding Watch Mode
- ES Module Syntax
- CommonJS Export
- CommonJS Named Exports
- Tree Shaking
- Webpack Bundle Walkthrough
- 03
Webpack Core Concepts
- Webpack Entry
- Output & Loaders
- Chaining Loaders
- Webpack Plugins
- Webpack Config
- Passing Variable to Webpack Config
- Adding Webpack Plugins
- Setting Up a Local Development Server
- Starting to Code with Webpack
- Splitting Environment Config Files
- Webpack Q&A
- 04
Using Plugins
- Using CSS with Webpack
- Hot Module Replacement with CSS
- File Loader & URL Loader
- Loading Images with JavaScript
- Limit Filesize Option in URL Loader
- Implementing Presets
- Bundle Analyzer Preset
- Compression Plugin
- Source Maps
- 05
Wrapping Up
- Q&A and Closing Remarks
Similar JavaScript build tool courses
Same topic, nearest in length, up to three from any one provider.
Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.