Open vianvio opened 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();
问题列表: 横向对比所有js模块化规范 附样例代码,要求体现:循环依赖处理方式、模块加载机制,大致目录结构为: