0
我想在app
目錄中排除.coffee
文件,我正在使用r.js
進行編譯。Require.js,我如何排除非.js文件?
所以在build.js
這種說法(build.js是在應用 DIR)產生錯誤:
({
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: {...}
})