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

concat 设置include:all时提示找不到文件,同30# #34

Closed
chenming142 opened this issue May 21, 2014 · 4 comments
Closed

concat 设置include:all时提示找不到文件,同30# #34

chenming142 opened this issue May 21, 2014 · 4 comments

Comments

@chenming142
Copy link

image
如上图,在 a_b.js中依赖 jquery代码是 require('dist/common/js/jquery-1.8.3')

在transport中,已生成dist/common/js/jquery-1.8.3且符合CMD规范,但是却找不到文件.

@popomore
Copy link
Member

请使用相对路径

@chenming142
Copy link
Author

如果我用的比如是 jquery库 或 arale 的gallery,哪来的相对路径?

@chenming142
Copy link
Author

@popomore 查看如下文件源码:
image

为什么没有解析别名呢?
在使用 include:all方式打包的时候,传入的是别名,打包方式找不到 别名 对应的文件路径.

image

改成这样是能成功打包的, 那需要修改么?

@popomore
Copy link
Member

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