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

grunt-cmd-transport的配置有简化的写法吗? #66

Open
mtyang opened this issue Apr 11, 2014 · 3 comments
Open

grunt-cmd-transport的配置有简化的写法吗? #66

mtyang opened this issue Apr 11, 2014 · 3 comments

Comments

@mtyang
Copy link

mtyang commented Apr 11, 2014

grunt-cmd-transport的配置有简化的写法吗?这么写感觉有点复杂哈

@popomore
Copy link
Member

指的是哪些配置?

@yunfour
Copy link

yunfour commented Jan 23, 2015

如果模块下有.css文件的时候会有些问题,如:
define("pages/test02/0.0.1/test02-debug", [ "$-debug" ], function(require) {
console.log(12313);
require("$-debug");
require("./test02-debug.css");
});

在模块中中依赖了一个css文件:/test02-debug.css,但是在转化是并没有把依赖的文件的URI加入依赖数组中,此时依赖数组只有一个元素:["$-debug"],实际上除了依赖了$-debug模块还依赖了css文件./test02-debug.css,所以我认为转化后的依赖数组应该是:["$-debug", ".//test02-debug.css"] 这样的

@popomore
Copy link
Member

需要 concat 进来

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

3 participants