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 Course
- Additional Course Materials and Code
- Up and Running with Webpack Dev Server
- Our First Loaders for CSS
- Better Errors and Loaders for HTML & Images
- Babel Basics
- Babel Polyfills, Transforms & Presets
- DIY Webpack Dev Server with Express Middleware
- Hot Reloading Both Client and Server with Nodemon
- Debugging Node with Chrome DevTools
- Hooking Up React
- Hooking up React - Part 2: Stateful Reloading
- Hooking up HTML Preprocessors like EJS/Pug/Handlebars
- Hooking up CSS Preprocessors like SASS/LESS & Stylus
- Hooking up Js in CSS with Emotion and CSS Modules
- Hooking up Typescript
- Hooking up Angular
- Hooking up VueJS
- Setup Production Hosting with Heroku
- Production Ready CSS
- Optimizing All Assets with GZip and Brotili Compression
- Building out the Blog with React
- Parsing Markdown for Blogging and Meta Data
- SplitChunks and the Bundle Analyzer
- Server-side Render JS with Express and React
- Server-side Render any Filetype with Webpack
- Unified Compilation - Part 1
- Unified Compilation - Part 2
- Adding Multiple Pages with React Router
- Dynamic Import Syntax
- React Universal Components
- Async JS/CSS Chunk Loading in Parallel (aka the Holy Grail)
- 2 Strategies for Multiple-Domains in Development
- Scoping Your Data per Domain
- Theming CSS per Domain
- Build out the Articles Pages for our 2 Heroes
- Redux Basics: The store, the reducer and the action.
- Fetching Articles from an API with Redux Thunk
- Redux on the client. Finishing our Article fetch
- Redux stores in the Server side render
- Webpack 4 Upgrade Guide
- What do you want to see next?
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.