How to handle the JS in custom app?

if i include the utils.js file in the app_include_js its working but my concern is its not added like that in other apps like frappe, erpnext, hrms. please suggest if you have any other approach this is the way I added

app_include_js = [
    "/assets/genreport/js/utils.js", # Make sure your utils file loading first
    "/assets/genreport/js/my_custom_app.bundle.js",
    "/assets/genreport/js/my_custom_service.js",
]