In order to deepen their understanding of Webpack, but also to help other students who want to understand the principle of Webpack. I run a warehouse like this.

The repository is divided into two parts, one is the project body, or master branch. This section keeps the code up to date and implements as many new Webpack features as possible.

The other part is for you to learn. The branch name starts with lecture. You can switch to the corresponding branch and see the code and course description of the corresponding feature. See the course list section below for the course table. You can also use github Commit to compare and see code changes.

Advance knowledge

Before you start this course, you need to have some understanding of the Webpack API.

If you do not understand, do not recommend you continue to read.

If you already have Webpack knowledge, let’s get started!

Begin to learn

If you want to learn, please switch to the corresponding branch.

For example, if you want to learn lesson 1, switch to the lecture/part1 branch, if you want to learn lesson 2, switch to the lecture/part2 branch, and so on.

Course list

We have finished the draft of the first two chapters, and plan to refine and correct them in 2018-07. Other sections are planned for August. If you are particularly interested, please leave a comment in the “issue” area, perhaps in advance.

Draft, subject to change

  1. Complete the most basic functions

  2. Increase the loader

  3. Increase the plugin

  4. Module parse

. To be continued

The original and warehouse address: https://github.com/azl397985856/mono-webpack