javascript - sea.js require.js, a modular loading framework, how to reasonably compress and merge code
迷茫
迷茫 2017-05-16 13:01:07
0
1
473

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

  1. Load according to the module of the website

  2. Compress all

Is there a more mature solution~

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
滿天的星座

seajs以前都是基于spm的生态做构建的,也可以通过sea-combo结合tengine做服务器动态合并的,可惜现在官网没了...
requirejsIt’s not that particular, it’s so strong and tough that you can press it no matter how hard it is.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template