Dojo has a great build process which allows you to create a optimized and minimized files for the client side (and more!).
In a production environment, this greatly improves performance.
However, building the code after every change will slow development significantly.
Since Dojo can load the required modules dynamically, you can load the source files and work with them directly, and maintain your profile file as you work. Running a build at the end of each development session will help to ensure the code and profile stay in sync.
twig template that references the Assetic assets.
@admin_js is specific to only the admin pages, it would be referenced there.