
In this video we are going to go over the main concepts you need to understand for Webpack.
https://webpack.js.org/concepts/
How to setup and install Webpack:
GitHub Repo: https://github.com/robertguss/webpack-5-fundamentals-course
How to setup Webpack Dev Server with Hot Module Reloading.
Dev Server Docs: https://webpack.js.org/guides/development/#using-webpack-dev-server
HTML Webpack Plugin Docs: https://webpack.js.org/plugins/html-webpack-plugin/
How to setup and configure Babel.
Babel docs: https://babeljs.io/setup#installation
How to setup and configure css and scss with Webpack.
CSS Loader docs: https://webpack.js.org/loaders/css-loader/#root
Style Loader docs: https://webpack.js.org/loaders/style-loader/
Sass Loader docs: https://webpack.js.org/loaders/sass-loader/#getting-started
How to setup and configure PostCSS with Webpack.
Post CSS Loader: https://webpack.js.org/loaders/postcss-loader/
Autoprefixer docs: https://github.com/postcss/autoprefixer
CSS Nano: https://cssnano.co/
Rucksack CSS: https://www.rucksackcss.org/
Mini CSS Extract Plugin docs: https://webpack.js.org/plugins/mini-css-extract-plugin/
How to create separate Webpack configs for development and production environments.
How to DRY (don't repeat yourself) our dev and prod configs
How to do code splitting and prevent duplication between our files and bundles
Code splitting docs: https://webpack.js.org/guides/code-splitting/
How to setup Jest for unit testing.
Jest docs: https://jestjs.io/docs/en/getting-started.html
Prettier & ESLint blog post: https://www.robinwieruch.de/prettier-eslint
ESLint: https://eslint.org/
Prettier: https://prettier.io/
prettier lint-staged docs: https://prettier.io/docs/en/precommit.html
lint stage repo: https://github.com/okonet/lint-staged#configuration
lint-stage and husky blog post: https://dev.to/botreetechnologies/setting-up-husky-pre-commit-hook-with-eslint-prettier-and-lint-staged-for-react-and-react-native-d05
In this course, you will learn how to set up and configure Webpack 5 from scratch. We start with an empty directory and built up a complete Webpack starter kit, line by line. By the end of the course, we will have built a modern front-end starter kit with tools like Jest for unit testing, ESLint for linting, Prettier for formatting, and a whole bunch more.
Along the way, we will learn all about Webpack configurations for different environments like development & production, loaders, plugins, etc. Throughout the course, I teach you how to read and navigate Webpack's documentation so you not only understand the concepts but also understand where to go to learn more. Each project has its own specific needs, and by teaching you how to read the docs, you will now be able to configure Webpack to fit your specific project needs.
One of the benefits of taking this course is the direct access you get to me as your instructor. If you are stuck at any point and need some help, feel free to reach out in the forums or send me a message and I will get back to you asap.
See you inside.