Make sure dojoConfig is provided before profile.