1

I'm Using Bower to install dependencies and using RequireJS's r.js. But when using r.js to build, all of the bower-components are also included (tests, docs, non-minized js etc). As it's nice to have tests included with each components in my dev directory, I find it a hassle to deal with when using r.js.

How would I setup a app.build.js file for r.js, that only includes the needed dependencies?

4

1 回答 1

1

有一个选项skipDirOptimize应该做你想做的事。

于 2013-08-19T06:05:24.783 回答