
Meet your Webpack 5 course instructor and learn to prepare your application for production, support development, boost performance, and debug by inspecting bundle files and managing assets.
Configure webpack to produce a bundle by setting entry and output properties in a config file, starting from the entry root and generating a bundle linked in the HTML entry.
Explore the output property of webapp configuration, which directs production files to the dist folder and defines the main bundle name, with advanced options to be covered alongside lazy loading.
Create a basic webpack configuration by exporting a config object from webpack.config.js, defining entry as src/index.js and configuring output with a bundle filename and path.
Discover how webpack uses loaders to handle JSON and JavaScript files and why module.rules matters; configure a first rule to load extensions and support multiple file types.
Install Babel presets for env and React, install Babel loader, and configure Webpack rules to pass .js and .jsx files to the loader so Babel transpiles to es5.
Configure Webpack to use multiple entry files by replacing a single entry with an object of entries, mapping page names to files, and naming bundles with substitutions.
Configure webpack to use development or production mode by setting the mode property in the config object, and learn how to read mode from arguments or environment variables.
Enable and use source maps in webpack to debug in development mode, inspect original code in the browser's devtools, and map bundles back to your source for easier troubleshooting.
Webpack 5 Course For Beginner/Intermediate Developers
This course is UP-TODATE with the latest Webpack version 5 (@NEXT version)
Webpack 5 still not officially released
It is available as webpack@next on npm
At the end of the course you will be able to:
1. Build Production Ready Applications
2. Master webpack advanced concepts
3. Support Development and Production modes
4. Master JavaScript Modules
5. Know the What? Why? How?
6. Boost your application performance
7. Split your application into bundles
8. Microfrontends with Webpack
9. Achieve Modular Project
10. Module Federation
Who is this course for:
1. Developers who want to sharpen their skills
2. Developers who want to become advanced/expert developers
3. Developers who seek to aquire best practices
4. Developers who want to learn about application performance
5. Developers who want to learn how to build their application
Prerequisites:
1. Basic JavaScript
This course includes:
1. Webpack Overview
2. JavaScript Modules
3. Webpack Configuration
4. Webpack-CLI
5. Module Federation
6. Babel Loaders
7. Assets Management
8. Production Mode
9. Support Development & Production Mode
10. Webpack HTML Plugin
11. HTML Templates
12. Build Process
13. Modularity