Closed vinitkumar closed 10 years ago
I have three different backbone apps that need to be compiled with r.js.
requirejs: { compile: { options: { baseUrl: "path/to/base", mainConfigFile: "path/to/config.js", name: "path/to/almond", // assumes a production build using almond out: "path/to/optimized.js" } } }
It there any way to doing it for multiple apps? Can an array of app's options be passed so that more than one backbone app gets compiled with grunt?
Please keep question to StackOverflow.
But yeah, use targets eg compile here. Read the docs ;)
compile
I have three different backbone apps that need to be compiled with r.js.
It there any way to doing it for multiple apps? Can an array of app's options be passed so that more than one backbone app gets compiled with grunt?