If all you want is a single file build, then you may create a layer on top of dojo/dojo
and include an initializer layout to your app. All remaining dependencies will be included automatically.
You layer config should be more or less like this:
layers: {
'dojo/dojo' : {
customBase: true,
boot: true,
include: ['my-app/init'] // a module that boots your app.
}
},
Checkout this small project that I created for a tutorial showing how to create a single file build (sorry, the README is in Portuguese =/).