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

疑问 #108

Open
whitekyo opened this issue May 18, 2016 · 0 comments
Open

疑问 #108

whitekyo opened this issue May 18, 2016 · 0 comments

Comments

@whitekyo
Copy link

whitekyo commented May 18, 2016

两个问题:
问题1:
app.js => [A.js, B.js, C.js]
B.js => [C.js]
如上,app依赖A,B,C三个模块。B依赖C模块。
文件目录结构如下:
lib -
src -
A.js
B.js
C.js
app.js
index.html
app.js如下:
define(function(require, exports, module){
...
var C = require("../lib/src/C.js");
})

B.js:
define(function(require, exports, module){
...
var C = require("./C.js");
})

合并之后,B.js里面出问题。这两个调用实际上同一个文件,grunt-cmd-transport这边如何配置

问题2:
如果添加config.js。grunt-cmd-transport中如何配置。

最后:
还是支持下这个插件,希望能给个相对基础全面的demo。

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

1 participant