Webpack 4: Beyond the Basics
- You should have some initial training or experience working with code and installing programs.
- You should have a desire to move quickly and dive deeply into the why and how of these libraries
- You should know what the command line is and have a code editor and be prepared to follow along.
I aim to make this Beyond the Basics course accessible to all skill levels. It's geared towards people who've seen the basics and messed around a bit, but still don't feel they understand Webpack. Each episode is written and rehearsed beforehand. They're edited so as to make best use of your time. There's not a wasted moment in any of these lessons.
With project centered content building real-world Webpack apps that you and your company can use from the very first line of code. First we look at the optimal Webpack development setup . Follow and code along as we build a Markdown blog, like Ghost, with Hot Module Reloading, Babel, and debugging in Node. We then move into how Webpack optimizes your production bundles, as we solidify the boilerplate into a portfolio website.
The final project is a doozy. We expand the portfolio site to a multi-domain node rewrite of Wordpress MU, Tumblr or SquareSpace. So you can run multiple domain names from a single node server process. We dig into the latest Webpack 4 features, including Server-side Rendering, dynamic imports with "magic comments" and we finish with Universal React components and CSS Chunks in Parallel. You will definitely want to get to the end of this course.
Along the way I'll discuss all the frameworks and libraries Webpack integrates with. Whether you're working on an legacy Rails or other backend project or just want to create something beautiful with EJS, Pug, Handlebars, Sass, Less or Stylus, CSS Modules, Angular or Vue JS there's a method and I'll give you the keys to build your site the way you want it.
Thank you for considering this course. I put everything I had into it. I'll add more lessons every couple of weeks. Please enjoy and reach out to me with any questions. I've love to help and learn what's still confusing.
- Anyone who wants visual, code-driven guidance through more than the usual webpack setup.
- Anyone who wants to see working examples of real-world webpack weirdness and edge-cases not covered in other courses.
- How to get help with this Course01:09
- Additional Course Materials and Code01:35
- Up and Running with Webpack Dev Server07:31
- Our First Loaders for CSS05:23
- Better Errors and Loaders for HTML & Images10:30
- Babel Basics04:09
- Babel Polyfills, Transforms & Presets08:07
- DIY Webpack Dev Server with Express Middleware09:56
- Hot Reloading Both Client and Server with Nodemon04:40
- Debugging Node with Chrome DevTools05:26
- Hooking Up React06:49
- Hooking up React - Part 2: Stateful Reloading09:39
- Hooking up HTML Preprocessors like EJS/Pug/Handlebars08:08
- Hooking up CSS Preprocessors like SASS/LESS & Stylus11:33
- Hooking up Js in CSS with Emotion and CSS Modules10:51
- Hooking up Typescript06:40
- Hooking up Angular13:35
- Hooking up VueJS09:31
- Setup Production Hosting with Heroku10:15
- Production Ready CSS07:02
- Optimizing All Assets with GZip and Brotili Compression07:32
- Building out the Blog with React06:05
- Parsing Markdown for Blogging and Meta Data08:10
- SplitChunks and the Bundle Analyzer06:30
- Server-side Render JS with Express and React09:18
- Server-side Render any Filetype with Webpack07:21
- Unified Compilation - Part 107:44
- Unified Compilation - Part 209:37
- Adding Multiple Pages with React Router11:04
- Dynamic Import Syntax03:57
- React Universal Components09:54
- Async JS/CSS Chunk Loading in Parallel (aka the Holy Grail)09:36
- 2 Strategies for Multiple-Domains in Development08:27
- Scoping Your Data per Domain10:39
- Theming CSS per Domain07:28
- Build out the Articles Pages for our 2 Heroes16:20
- Redux Basics: The store, the reducer and the action.10:52
- Fetching Articles from an API with Redux Thunk12:00
- Redux on the client. Finishing our Article fetch09:32
- Redux stores in the Server side render10:08
- Webpack 4 Upgrade Guide13:30
- What do you want to see next?01:03
Lawrence is a life-long learner who loves teaching, entrepreneurship and remote work. He builds web and mobile apps for a living. He's been doing it professionally since the mid-90's when both he and the web were very young. His next challenge is to give back to his developer community by teaching the tools and techniques that are powerfully useful and possibly undocumented. In so doing, he hopes to once again, continue his learning.