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

依赖只能匹配到第一个 #93

Open
funkyLover opened this issue Feb 5, 2015 · 5 comments
Open

依赖只能匹配到第一个 #93

funkyLover opened this issue Feb 5, 2015 · 5 comments

Comments

@funkyLover
Copy link

原本模块的写法

define(function(require, exprots, module){
  require("aaa");
  require("bbb");
 .........
})

按道理最后构建结束应该生成如下

define('path', ['aaa','bbb'], function(require, exports, module) {
  require("aaa");
  require("bbb");
 .........
});

但是实际结果如下

define('path', ['aaa'], function(require, exports, module) {
  require("aaa");
  require("bbb");
 .........
});

每一模块都只能匹配到第一个require依赖

@mmjiy
Copy link

mmjiy commented Feb 24, 2015

我也碰到这个问题。。

@daifee
Copy link

daifee commented Mar 31, 2015

我也是 0.5.1有着问题 我换回0.4.1了

@LiXunGuan
Copy link

我也遇到此问题,在找解决方法。

@docikaci
Copy link

也碰到这个问题, 没人解决吗? seajs的打包为何这么蛋疼。。。。

@juzhishang
Copy link

我也遇到了这个问题,因为使用了path,还不能降级。。。

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

6 participants