For example, most of the current modular loading frameworks Seajs Require.js should have this problem. How to merge codes reasonably? The first ones I thought of were these
Load according to the module of the website
Compress all
Is there a more mature solution~
seajs
以前都是基于spm
的生态做构建的,也可以通过sea-combo
结合tengine
做服务器动态合并的,可惜现在官网没了...requirejs
It’s not that particular, it’s so strong and tough that you can press it no matter how hard it is.