This works fine with localhost.
However, as soon as I build a production build and deploy it, I get the error
GET http:/..../myapp/app/filename.js 404 (not found)
--> the build does not get the file automatically
What is the right way of adding my own js-files, so that they automatically become part of the build and are cached on the mobile device?