I have added a prebuild script to my package.json that compiles assets and copies them into my webdir that contains my index.html for capacitor. However, this script doesn’t seem to be executed when I build a commit in AppFlow (the bundle only contains my initial index.html and a manifest).
Locally, the script works just fine when I run npm run prebuild.
You should see in the build’s log what’s going on - maybe add some console.log(). Also maybe try to add a npm script appflow:build. Appflow will execute this one if it’s present, so try to do the prebuild and normal build in there.