bench build does not generate assets.
directory structure:

build.json

template file

build resuls:

bench build does not generate assets.
directory structure:

build.json

template file

build resuls:

Finally solved this (I’m using v15). Adding the solution here in case it helps anyone else.
Instead of build.json (delete it) create a file which ends in bundle.js in your custom app directory app/app/public/js.
E.g.
app.bundle.js
In this file import the files you want to bundle.
E.g.
import "templates/ticket_comments.html"
import "myotherjsfile.js"
then run
bench build
or
bench watch