例如,如果我有
define(['./path/to/Foo'], function(Foo) {})
./path/to/Foo
是相对于require.config的baseUrl
解析,还是相对于该模块的位置?
> 根据 http://requirejs.org/docs/api.html#modulenotes-relative-names,似乎它是相对于文件解析的,而不管baseUrl如何。