Cross-project dependencies can be resolved by assuming that there are currently two projects app1 and App2, and App1 wants to use one of the components...
A plugin for automatic language conversion, unlike i18N, no need to write multiple sets of language files, using Google API for translation, just need to...
A simple WebPack configuration has been implemented, but this is far from meeting our requirements for release, production and online, and there is still a...
The official antD method of replacing moment with dayjs is complicated, and using dayjs in ANTD is likely to be incorrect due to versionissues. This...
Puzzle is a project structure based on Vue and Webpack4 implementation; Business modules can be combined like puzzle pieces with architectural modules to form different...
Improve build performance with persistent caching. Use better algorithms and defaults to improve long-term caching. Improved bundle size with better tree shaking and code generation....
Tapable is an event-flow implementation of Webpack's entire life cycle and its plug-in mechanism. It provides various forms of publish-subscribe APIS that can be used...
1. Define commands in package.json to perform local build packaging startup or online packaging; For example, we will have common configurations for online packaging and...
1, Webpack multiple single page entry, need to repeatedly write multiple entries; 2, WebPack Entry does not support glob, you can not use fuzzy matching...
Process.env.node_env is probably the most familiar environment variable. It is often used when using frameworks or libraries to distinguish between different environments (development, test, production,...
This chapter includes: 1, advantages of Webpack, 2, the role of Webpack Loader and plug-in, 3, webpack construction process, 4, Webpack hot update principle, 5,...
This series of articles aims to educate the reader about WebPack modularity; We'll explore webPack's approach to modularity in terms of packaging results.
Js optimization, JS compatibility, how to use ESLint code validation for uniform style in development environments, HTML compression, resolve, noParse, IgnorePlugin
What is Webpack? Webpack is a module packaging tool that not only reduces network traffic, but also reduces server requests and reduces server stress. Two,...
'Webpack plugin' is an important part of Webpack, more than 80% of the functions of Webpack are realized by plugin. Understanding 'tapable' is really the...