All references to modules with the suffix. Ejs in the template directory, including subdirectories, are returned. And a regular expression that matches the file. The...
This article will get you started with Webpack and give you an easy-to-understand introduction to basic and advanced configurations, making it easy for everyone to...
Learn from 0-1 Webpack manual construction project Webpack summary, record the configuration and optimization process we went through manual construction webpack.
Background The evolution of front-end engineering is not independent, but closely related to and growing up with other front-end fields. The following will first introduce...
It is possible to generate more efficient code through Tree Shaking. This article introduces Webpack Tree Shaking in an easy-to-understand language so that you can...
Hello, I'm Brother Fly. I haven't written an article for a long time. Recently, the group leader inadvertently raised a requirement, how to unify the...
In single-page or multi-page applications, code separation can optimize performance. For example, splitting asynchronously loaded code into a separate chunk and loading it on demand...
Before WebPack V4, CommonsChunkPlugin was used to extract common JS files and libraries, but the function of this plug-in is limited, can only pack the...
The previous article briefly introduced Loader, and today I will talk about my understanding of Loader. A node module that exports a function. This function...
Summary of their own performance optimization and webpack optimization. The current article describes Webpack, and the performance before Webpack will be summarized in the future.
Webpack is a well-known front-end development tool, which can build a development environment including hot updates, can also generate compressed production environment code, but also...
The last article covered webPack installation and basic configuration. Today we will talk about loader. If Webpack does not use Loader, it only supports JS...
Webpack is a concrete solution for front-end project engineering. At present, most front-end projects such as Vue/React are based on Webpack for engineering development
This paper through the analysis of the packaging principle of Webpack, finally take you to achieve a simple version of Webpack, teach people to fish...