For my Angular + Require project, I encountered an issue while trying to package the application with r.js using:
node r.js -o app.build.config.js
Despite everything working fine, the library files were not found on the specified path. Instead, the dependencies were being searched for relative to the folder I set as a target.
({
appDir: "C:/dev/etc/",
baseUrl: "javascript/core/",
dir: "app-build/",
modules: [
{
name: "application",
out: "app.js"
}
],
findNestedDependencies: true
})