vianvio / FE-Companions

山虽高,我心已决要攀登, 路再难,绊不住我的脚跟; 因为我看到生命之路就在这里。 -- 《天路历程》
447 stars 34 forks source link

20200305 - We Are Young #40

Open vianvio opened 4 years ago

vianvio commented 4 years ago

问题列表: 横向对比所有js模块化规范 附样例代码,要求体现:循环依赖处理方式、模块加载机制,大致目录结构为:

build/
   |- index.amd.js
   |- index.cmd.js
   |- index.es.js
   |- index.common.js
   |- index.umd.js
src/
   |- index.js
   |- dep.js
// index.js
// export hello();
// dep.js
// import index.js

// call index.hello();