Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spmx 支持seajs异步加载模式么? #9

Open
lmm1990 opened this issue Dec 23, 2014 · 1 comment
Open

spmx 支持seajs异步加载模式么? #9

lmm1990 opened this issue Dec 23, 2014 · 1 comment

Comments

@lmm1990
Copy link

lmm1990 commented Dec 23, 2014

require.async('./a', function(a) {
……
});

其中 './a' 是一个JS变量,建议这种的,加一个map,编译前的文件名(带目录),编译后的文件名,这样就可以对应起来了

@fouber
Copy link
Owner

fouber commented Dec 23, 2014

@lmm1990

scrat支持,因为我们独立写了一个模块化框架,与工具紧密配合,spmx基于seajs,没有看到这种映射的关系处理,所以还不支持。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants