layui defined as "classic modular", with the earlier AMD's shadow, but not limited to those who think outside the box CommonJS, except BootStrap that: layui blend their own understanding of the classic modular.
In addition to the built-in layui whole module is loaded, layui extension modules can also be combined into one file to load.