Code repository for the three Webpack courses recorded in 2018.
- Webpack 4 Fundamentals (Slides)
- Web Performance with Webpack (Slides)
- Mastering Webpack Plugins (Slides)
This project assumes you have Node.js v8 or greater installed which comes the latest npm v5 or greater installed as well.
Note: Sean uses yarn instead of npm at times in this course. yarn and npm do the same thing, with a slightly different API.
npm run dev
vsyarn dev
npm install webpack-dev-server --save-dev
vsyarn add webpack-dev-server
These steps will assume that you have cd
'd in your preferred editor to this repositories cloned location.
- Install dependencies:
npm install
- Enjoy the course!
Tip: Use git checkout BRANCH_NAME -f
to jump into a given branch. The -f
will force overwriting your local changes.
- Email: [email protected]
- Twitter: @TheLarkInn
- Log a Github issue if there's an issue with the code.
- Email: [email protected] if you have a general issue with the courses.
- Sign up for a GitHub Account (if you don't already have one)
- Fork this repo
- Clone your fork
- In the directory you cloned the repository, run
git fetch --all
- To checkout a branch, use
git checkout feature/01-fem-first-script
- feature/01-fem-first-script
- feature/03-fem-debug-script
- feature/0310-add-first-config-mode-none
- feature/031-all-module-types
- feature/0311-add-first-plugins
- feature/0312-webpack-dev-server
- feature/04010-composing-configs-webpack-merge
- feature/040101-add-style-loader
- feature/04013-adding-presets
- feature/04014-typescript-preset
- feature/0414-analyze-compress-presets
- feature/0415-fixed-presets-bug-sorry-use-this
- feature/0500-code-splitting-example
- feature/0500-code-splitting-example
- feature/0501-code-splitting-large-libs
- feature/0502-not-so-dynamic-code-splitting
- feature/0503-webpack-magic-comments
- feature/0504-webpack-prefetch-preload
- feature/0504-webpack-prefetch-preload
- feature/059-my-first-plugin
- feature/0600-custom-webpack-plugins
- feature/0700-custom-loaders