jakewins / brew

Maven plugin for compiling coffeescript, haml-js and aggregating AMD-based js projects.
GNU Lesser General Public License v2.1
91 stars 21 forks source link

Support r.js's baseUrl configuration #21

Open yonilevy opened 12 years ago

yonilevy commented 12 years ago

r.js allows configuring both an appDir and a baseUrl. Here there's optimizeSourceDir which is similar to appDir, but I can't find an equivalent to baseUrl. The lack of baseUrl means I have change my code to support brew, by prefixing every require module path with what would otherwise be my baseUrl (say js/).

Let me know if I'm missing something.