PHearst
PHearst

Reputation: 771

RequireJS and Bower dependencies

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?

Upvotes: 1

Views: 1347

Answers (1)

blockhead
blockhead

Reputation: 9705

There is an option skipDirOptimize which should do what you want.

Upvotes: 1

Related Questions