fex-team / fis3-postpackager-loader

静态资源前端加载器
BSD 2-Clause "Simplified" License
82 stars 38 forks source link

跨模块调用,依赖关系怎么维护 #28

Open geraldlrh opened 8 years ago

geraldlrh commented 8 years ago

我指的模块是说(如下图) image

oxUnd commented 8 years ago

loader 只是给单模块,静态编译使用的,如果是其他情形,请自造 loader。

geraldlrh commented 8 years ago

啊,回复这么快。。能提供一下思路吗?将各个模块的map.json合并成一个大的,然后再分析吗

oxUnd commented 8 years ago

很多方法,具体可参考后端流 fis3-smarty

geraldlrh commented 8 years ago

有纯前端的方案吗

oxUnd commented 8 years ago

@geraldlrh

纯前端,应该有,你可以关注下 https://github.com/scrat-team 团队的东西。