As a popular module packaging tool in modern front-end development, webpack is widely used in the field of front-end engineering and is one of the common skills for front-end engineers. Well-known companies around the world (such as Google, Alibaba, Tencent, etc.) are using webpack as a module packaging tool. As webpack5 has been developed for nearly a year, it will be launched grandly. After we finish learning webpack4 configuration, we will seamlessly switch to webpack5 and fully explain the new features of webpack5.