我想在我正在构建.coffee的目录中排除文件。appr.js
所以build.js(build.js is in the app dir) 中的这个语句会产生 ERROR :
({
baseUrl: ".",
name: "main",
out: "../build/result.js",
stubModules: ['cs', 'text'],
exclude: ['coffee-script', 'myfile'], # ERROR, no such file myfile.js in app dir..
optimize: "none",
paths: {...}
})