Every time the vue project modifies the file, the building modules, code will be too much and the page refresh will be slow.

every time the vue project modifies the file, the building modules, code will be too much and the page will refresh slowly

Mar.06,2021

commonchunks+dllplugins


subpackage with DllPlugin and DllReferencePlugin, and try HappyPack again if it's still slow.


if you remember correctly, webpack has dynamic link libraries ( ddl ), so you can package some third-party libraries separately to ensure that these fixed files are not recompiled during development.


I have summarized some methods, you can take a look at the links. http://hpoenixf.com/posts/21589/

Menu