first of all, emphasize that it is better rather than faster.
I have been in contact with webpack for some time, but my level is still very bad. I occasionally look at the documentation and other people"s code, but I find that I even have a wrong understanding of webpack, let alone how it works.
I only know that it is used for packaging, usually work in the project configuration is leader configuration, just use it directly, basically did not write the project configuration, look at the official documents is only a general understanding, really to write their own time can not write out, most of the existing configuration can still be understood.
what bothers me most is that I don"t seem to know how it works. For example, in the vue project, the css, development environment of the development environment and production environment is inserted into head in the form of style, and the production environment is in the form of link. I don"t even know why. After being a colleague, I really think it"s a long way to learn webpack well! There is no direction at all. Read the document? Watch the video? Write demo?